Wouldn't it be more useful if the type was
when :: Monad m => Bool -> m a -> m ()
not
when :: Monad m => Bool -> m () -> m ()
...?
Frederik
___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell
Hallo everybody!
A few years ago I wrote a program wich contained (among much else) the
following:
>import IOExts (thawIOArray,freezeIOArray) -- had to
be replaced, because ghc doesn't find it anymore
>import Data.Array.Unboxed as UA (UArray,listArray)
>import Data.Array.I