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.
- No changelog available
|Versions||0.6, 0.6.1, 0.6.2|
|Dependencies||base (>=3 && <5), haskeline (==0.6.*), mtl (>=1.1 && <2.1)|
|Maintainer||Antoine Latter <email@example.com>|
|Upload date||Sat Aug 13 01:04:34 UTC 2011|
- haskeline-class-0.6.2.tar.gz [browse] (Cabal source package)
- Package description (included in the package)
For package maintainers and hackage trustees