The haskeline-class package
Haskeline provides all of its functionality within the scope of a monad transformer. This module adds two pieces to this:
Introduced here is a type-class which defines the operations supported by the Haskeline monad transformer - MonadHaskeline
A newtype wrapper around Haskeline's InputT, called HaskelineT. Sadly, InputT defines ints own instance of the mtl MonadState, which is no good for folks wanting to use InputT in an existing monad transformer stack.
HaskelineT also has an instance of MonadState, but it merely lifts the functions further in the transformer stack.
Large portions of the Haskeline functionality are re-exported here for convinience.
Note on build-dependencies: If you've succesfully built this with any packages other than the ones noted, please let me know.
Properties
| Versions | 0.6, 0.6.1, 0.6.2 |
|---|---|
| Dependencies | base (≥3 & <5), haskeline (0.6.*), mtl (1.1.*) |
| License | BSD3 |
| Author | Antoine Latter |
| Maintainer | Antoine Latter <aslatter@gmail.com> |
| Category | User interfaces |
| Home page | http://community.haskell.org/~aslatter/code/haskeline-class |
| Upload date | Sat Jun 20 04:14:36 UTC 2009 |
| Uploaded by | AntoineLatter |
| Built on | ghc-6.10, ghc-6.12, ghc-7.0 |
| Distributions | NixOS: 0.6.2 |
Modules
- System
- Console
- Haskeline
- Console
Downloads
- haskeline-class-0.6.1.tar.gz (Cabal source package)
- package description (included in the package)