[Haskell-cafe] Re: Monads aren't evil? I think they are.

Ertugrul Soeylemez es at ertes.de
Sun Jan 11 05:37:22 EST 2009


Ertugrul Soeylemez <es at ertes.de> wrote:

> Personally I prefer this:
>
>   somethingWithRandomsM :: (Monad m, Random a) => m a -> Something a

Of course, there is something missing here:

  somethingWithRandomsM :: (Monad m, Random a) => m a -> m (Something a)

Sorry.


Greets,
Ertugrul.


-- 
nightmare = unsafePerformIO (getWrongWife >>= sex)
http://blog.ertes.de/




More information about the Haskell-Cafe mailing list