|File Search||Catalog||Content Search|
It defines the type class MonadControlIO, a subset of MonadIO into which generic control operations such as catch can be lifted from IO. Instances are based on monad transformers in MonadTransControl, which includes all standard monad transformers in the transformers library except ContT. For convenience, it provides a wrapped version of Control.Exception with types generalized from IO to all monads in MonadControlIO.
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 language extension to simplify most definitions.
The package includes a copy of the monad-peel testsuite written by Anders Kaseorg. The tests can be performed by using cabal test.
The following critertion based benchmark shows that monad-control is on average about 2.5 times faster than monad-peel:
0.3 (Released on: Fri Dec 2 09:52:16 UTC 2011) * Major new API which IMHO is easier to understand than the old one. * On average about 60 times faster than the previous release! * New package lifted-base providing lifted versions of functions from the base library. It exports the following modules: - Control.Exception.Lifted - Control.Concurrent.Lifted - Control.Concurrent.MVar.Lifted more»
haskell-monad-control (0.3.1.3-1+b1) sid; urgency=low * Binary-only non-maintainer upload for kfreebsd-i386; no source changes. * Rebuild against new transformers/mtl -- kfreebsd-i386 Build Daemon (field) <firstname.lastname@example.org> Sat, 26 May 2012 07:51:59 +0000 haskell-monad-control (0.3.1.3-1) unstable; urgency=low * New upstream version. -- Clint Adams <clint@ more»
This package was debianized by Clint Adams <email@example.com> on Sun, 05 Jun 2011 12:28:09 -0000 It was downloaded from http://hackage.haskell.org/package/monad-control Upstream Author: Bas van Dijk <firstname.lastname@example.org> Copyright: 2010 Bas van Dijk, Anders Kaseorg License: All rights reserved. Redistribution and use in source and binary forms, with or without modification, are p more»