Index of values

(>>=) [Session.Monadic]

The monadic composition operator.

(>>>) [Session.Monadic]

m1 >>> m2 is a shortcut for m1 >>= fun _ -> m2.

(@=) [Session.Bare]

f @= ep evaluates f ep.

(@>) [Session.Bare]

f @> ep evaluates f ep.

A
accept [Service]

accept s waits for a connection from a client to service s.

acquire [Session.Bare]

acquire ep acquires the endpoint ep, if it is valid.

B
branch [Session.Monadic]

branch mtrue mfalse accepts a boolean selection from the session endpoint and executes either mtrue or mfalse accordingly.

branch [Session.Bare]

branch ep receives a selection from the endpoint ep with input capability.

C
close [Session.Bare]

close ep closes endpoint ep.

connect [Session.Monadic]

connect ms mc creates a new session that connects the server ms, spawned into a new thread, and the client mc.

create [Service]

create () creates a new service.

create [Session.Bare]

create () creates a new session.

F
fix [Session.Monadic]

Fixpoint operator for monadic computations.

I
is_valid [Session.Bare]

is_valid ep determines whether ep is a valid endpoint or not.

R
receive [Session.Monadic]

receive waits for a message from the session endpoint and returns its value.

receive [Session.Bare]

receive ep receives a message from the endpoint ep with input capability.

request [Service]

request s requests a connection to a service s.

return [Session.Monadic]

return e is the trivial monadic computation that does not perform communications and returns the value of e.

S
same_session [Session.Bare]

same_session ep ep' checks whether ep and ep' are endpoints of the same session (but not necessarily peer endpoints).

select [Session.Bare]

select f ep sends f to the peer endpoint of ep, where it is used to compute the received message.

select_false [Session.Monadic]

select_false selects the False branch of a choice.

select_false [Session.Bare]

select_false ep selects the False branch of a choice.

select_true [Session.Monadic]

select_true selects the True branch of a choice.

select_true [Session.Bare]

select_true ep selects the True branch of a choice.

send [Session.Monadic]

send e sends the message e on the session endpoint.

send [Session.Bare]

send e ep sends e on the endpoint ep with output capability.

spawn [Service]

spawn f creates a persistent service that spawns a new thread f ep for each connection with endpoint ep accepted from a client.

string_of_endpoint [Session.Bare]

string_of_endpoint ep returns a textual representation of the endpoint ep.

T
try_acquire [Session.Bare]

try_acquire ep attempts to acquire the endpoint ep.