@hackage managed1.0.7
A monad for managed values
Categories
License
BSD-3-Clause
Maintainer
Gabriel439@gmail.com
Links
Versions
Installation
Dependencies (3)
- base >=4.5 && <4.15
- semigroups >=0.16 && <0.19
- transformers >=0.2.0.0 && <0.6 Show all…
Dependents (27)
@hackage/box, @hackage/macos-corelibs, @hackage/haskell-overridez, @hackage/hs-mesos, @hackage/solr, @hackage/hierarchical-spectral-clustering, Show all…
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