prompt: Monad (and transformer) for deferred-effect pure prompt-response queries
Monad (and transformer) for delayed-effect "pure" prompt-and-response queries.
Allows you to specify programs that might query a database, talk to stdio, etc., without ever involving IO or opening the door to arbitrary IO. Write a potentially pure computation describing prompting interactions, etc., without having your type actually do any IO or involve itself with IO or any effectful context.
Useful as a source of "things from IO", without ever actually involving IO or arbitrary IO itself; only executing a specific subset of IO (or State, etc.) that you yourself, the caller, specifies explicitly. Safer and more meaningful type.
For more information and instructions on usage with examples, see the README.
Not quite related to the MonadPrompt library.
[Skip to Readme]
|Versions [faq]||0.1.0.0, 0.1.1.0, 0.1.1.1, 0.1.1.2 (info)|
|Dependencies||base (>=4.6 && <5), mtl, transformers, transformers-compat [details]|
|Copyright||(c) 2015 Justin Le|
|Revised||Revision 3 made by jle at 2015-06-29T22:27:07Z|
|Source repo||head: git clone git://github.com/mstksg/prompt.git|
|Uploaded||by jle at 2015-06-29T22:23:35Z|
|Distributions||LTSHaskell:0.1.1.2, NixOS:0.1.1.2, Stackage:0.1.1.2|
|Downloads||2746 total (23 in the last 30 days)|
|Rating||(no votes yet) [estimated by Bayesian average]|
Docs available [build log]
Last success reported on 2015-10-18 [all 1 reports]
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
For package maintainers and hackage trustees