[Haskell-beginners] Re: global variables

Ertugrul Soeylemez es at ertes.de
Sun Aug 15 16:34:19 EDT 2010

Brandon S Allbery KF8NH <allbery at ece.cmu.edu> wrote:

> On 8/15/10 14:04 , prad wrote:
> > i did note that MonadLib doesn't seem to exist, so is that something
> > i get from cabal? is ask part of it too?
> MonadLib is on Hackage, yes.  "ask" is part of the MonadReader
> typeclass.

In MonadLib the class is named ReaderM, not MonadReader.


nightmare = unsafePerformIO (getWrongWife >>= sex)

More information about the Beginners mailing list