λ

3.4: Mailboxes

In a previous section we used synchronous channels, but CML provides asynchronous channels with a nonblocking send, called Mailboxes.

(* examples/mailboxes.sml *)