Re: [Haskell] signature of when, unless

2005-01-17 Thread Isaac Jones
Frederik Eaton <[EMAIL PROTECTED]> writes: > Wouldn't it be more useful if the type was > > when :: Monad m => Bool -> m a -> m () > > not > > when :: Monad m => Bool -> m () -> m () Seconded. peace, isaac ___ Haskell mailing list Haskell@haskell.or

[Haskell] signature of when, unless

2005-01-03 Thread Frederik Eaton
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