The http-monad package
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.
Properties
| Versions | 0.0.1, 0.1, 0.1.0.1, 0.1.0.2 |
|---|---|
| Dependencies | base (<3), bytestring (0.9.*), explicit-exception (≥0.1.4 & <0.2), HTTP (4000.*), lazyio (≥0.0.2 & <0.1), network (≥2.1 & <2.4), parsec (≥2.1 & <3.2), transformers (≥0.2 & <0.4), utility-ht (≥0.0.4 & <0.1) or base (≥3 & <5), bytestring (0.9.*), containers (≥0.1 & <0.5), explicit-exception (≥0.1.4 & <0.2), HTTP (4000.*), lazyio (≥0.0.2 & <0.1), network (≥2.1 & <2.4), parsec (≥2.1 & <3.2), transformers (≥0.2 & <0.4), utility-ht (≥0.0.4 & <0.1) |
| License | BSD3 |
| Copyright | (c) 2009, Henning Thielemann |
| Author | Henning Thielemann <http@henning-thielemann.de> |
| Maintainer | Henning Thielemann <http@henning-thielemann.de> |
| Category | Network |
| Source repository | darcs get http://code.haskell.org/~thielema/http-monad/ |
| Executables | infinite-httpd |
| Upload date | Tue Apr 10 17:43:58 UTC 2012 |
| Uploaded by | HenningThielemann |
| Build failure | ghc-7.4 (log) |
Modules
- Network
- Monad
- Network.Monad.Body
- Network.Monad.HTTP
- Network.Monad.HTTP.Header
- Network.Monad.Reader
- Network.Monad.Transfer
- Network.Monad.Transfer.ChunkyLazyIO
- Network.Monad.Transfer.IO
- Network.Monad.Transfer.Offline
- Monad
Downloads
- http-monad-0.1.0.2.tar.gz (Cabal source package)
- package description (included in the package)