BSD-3-Clause licensed by Gabriel Gonzalez
Maintained by Gabriel439@gmail.com

Module documentation for 1.0.7

This version can be pinned in stack with:managed-1.0.7@sha256:382d22103b994ffdf08c2f7e8e147f21eec5f79121aabdbe0b97da12678b9015,1535

In Haskell you very often acquire values using the with... idiom using functions of type (a -> IO r) -> IO r. This idiom forms a Monad, which is a special case of the ContT monad (from transformers) or the Codensity monad (from kan-extensions). The main purpose behind this package is to provide a restricted form of these monads specialized to this unusually common case.

The reason this package defines a specialized version of these types is to:

  • be more beginner-friendly,

  • simplify inferred types and error messages, and:

  • provide some additional type class instances that would otherwise be orphan instances

Depends on 2 packages(full list with versions):
Used by 1 package in nightly-2020-03-25(full list with versions):