[Haskell-cafe] Problem with class Control.Monad.Error noMsg usage

Daniel Fischer daniel.is.fischer at googlemail.com
Tue Dec 21 16:54:00 CET 2010


On Tuesday 21 December 2010 16:40:38, Henning Thielemann wrote:
> Aaron Gray schrieb:
> > if I try importing them :-
> >
> >     import Control.Monad.Error (noMsg, strMsg)
>
> I think it was moved to Control.Monad.Error.Class.
>

But it's still re-exported from Control.Monad.Error, so they ought to be in 
scope.
And the code works here (with an additional type signature for a reads 
result and {-# LANGUAGE ExistentialQuantification #-}), both with 6.12.3 
and with 7.0.1.



More information about the Haskell-Cafe mailing list