[commit: haskeline] master: Change the MonadException class to be more general. (38d57be)
Ian Lynagh
igloo at earth.li
Sat May 26 20:37:46 CEST 2012
Repository : ssh://darcs.haskell.org//srv/darcs/packages/haskeline
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/38d57bef2807443b84680f78a9bdb6c59c907192
>---------------------------------------------------------------
commit 38d57bef2807443b84680f78a9bdb6c59c907192
Author: Judah Jacobson <judah.jacobson at gmail.com>
Date: Mon May 21 23:50:20 2012 +0000
Change the MonadException class to be more general.
This patch switches our MonadException implementation to an approach
based on the monad-control package.
The main immediate benefit is that we no longer get warnings from the deprecated
block/unblock functions, since we now call Control.Exception.{bracket,finally,etc}
directly instead of reimplementing them from more primitive operations.
System/Console/Haskeline/MonadException.hs | 161 ++++++++++++++++++++--------
System/Console/Haskeline/Monads.hs | 15 ++-
2 files changed, 125 insertions(+), 51 deletions(-)
Diff suppressed because of size. To see it, use:
git show 38d57bef2807443b84680f78a9bdb6c59c907192
More information about the Cvs-libraries
mailing list