devel/hs-monad-control - The NetBSD Packages Collection

Lift control operations through monad transformers

This package defines the type class MonadBaseControl, a subset of
MonadBase into which generic control operations such as catch can be
lifted from IO or any other base monad. Instances are based on monad
transformers in MonadTransControl, which includes all standard monad
transformers in the transformers library except ContT.

See the lifted-base package which uses monad-control to lift IO
operations from the base library (like catch or bracket) into any
monad that is an instance of MonadBase or MonadBaseControl.

Note that this package is a rewrite of Anders Kaseorg's monad-peel
library. The main difference is that this package provides CPS style
operators and exploits the RankNTypes and TypeFamilies language
extensions to simplify and speedup most definitions.

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

lang/ghc98 devel/hs-transformers-base devel/hs-transformers-compat lang/ghc98 devel/hs-transformers-base devel/hs-transformers-compat

Binary packages

NetBSD 10.0aarch64hs-monad-control-
NetBSD 10.0aarch64hs-monad-control-
NetBSD 10.0x86_64hs-monad-control-
NetBSD 10.0x86_64hs-monad-control-
NetBSD 9.0aarch64hs-monad-control-
NetBSD 9.0aarch64hs-monad-control-
NetBSD 9.0x86_64hs-monad-control-
NetBSD 9.0x86_64hs-monad-control-
NetBSD 9.3x86_64hs-monad-control-
NetBSD 9.3x86_64hs-monad-control-

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options


Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.