http-monad

Monad abstraction for HTTP allowing lazy transfer and non-I/O simulation

Latest on Hackage:0.1.1.1

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.

BSD3 licensed and maintained by Henning Thielemann

This library implements a monad class with various interesting instances:

  • Lazy I/O allows for fetching documents via HTTP on demand

  • Non-I/O allows for testing HTTP communication without any IO action

By using this monad you can implement HTTP communication in a very general way. You may add further functionality by adding custom sub-classes.

We inherit all content data types from the HTTP-4000 package, such as String as well as strict and lazy ByteString.

comments powered byDisqus