a monad for protocol-typed network programming


Latest on Hackage:

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed by Keigo IMAI
Maintained by keigo.imai@gmail.com

This library defines a Session monad, which provides static checking of safe and consistent use of communication channels according to protocols. It requires almost no type- or term- annotations. Examples inculude a SMTP client and a simple chat client with its own protocol. Alternatives are: the simple-sessions package (http://hackage.haskell.org/package/simple-sessions) and the sessions package (http://hackage.haskell.org/package/sessions).