Package Info


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.

License: MIT



Package Version Update ID Released Package Hub Version Platforms Subpackages info GA Release 2018-08-01 15
  • AArch64
  • ghc-prompt
  • ghc-prompt-devel info GA Release 2018-07-30 15
  • ppc64le
  • x86-64
  • ghc-prompt
  • ghc-prompt-devel