Name: haskeline-class
Version: 0.6.2
License: BSD3
License-File: LICENSE
Author: Antoine Latter
Maintainer: Antoine Latter <aslatter@gmail.com>
Category: User interfaces
Synopsis: Class interface for working with Haskeline
Description:
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.
Homepage: http://community.haskell.org/~aslatter/code/haskeline-class
Build-Type: Simple
Cabal-Version: >= 1.2
Library
Build-Depends: haskeline >= 0.6, haskeline < 0.7, base >= 3 && < 5, mtl >= 1.1 && < 2.1
Exposed-modules: System.Console.Haskeline.Class