Package Info

ghc-managed


A monad for managed values


Unspecified

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.


License: BSD-3-Clause
URL: https://hackage.haskell.org/package/managed

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
1.0.9-bp155.2.16 info GA Release 2023-05-22 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • ghc-managed
  • ghc-managed-devel
1.0.9-bp154.1.11 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • x86-64
  • ghc-managed
  • ghc-managed-devel
1.0.7-bp153.1.20 info GA Release 2021-04-08 15 SP3
  • AArch64
  • ppc64le
  • x86-64
  • ghc-managed
  • ghc-managed-devel
1.0.7-bp152.1.10 info GA Release 2020-06-16 15 SP2
  • AArch64
  • ppc64le
  • x86-64
  • ghc-managed
  • ghc-managed-devel
1.0.6-bp151.2.2 info GA Release 2019-07-17 15 SP1
  • ppc64le
  • s390x
  • x86-64
  • ghc-managed
  • ghc-managed-devel
1.0.6-bp151.1.12 info GA Release 2019-05-31 15 SP1
  • AArch64
  • ghc-managed
  • ghc-managed-devel
1.0.5-bp150.2.4 info GA Release 2018-08-01 15
  • AArch64
  • ghc-managed
  • ghc-managed-devel
1.0.5-bp150.2.6 info GA Release 2018-07-30 15
  • ppc64le
  • x86-64
  • ghc-managed
  • ghc-managed-devel