Re: [Haskell] signature of when, unless

17 Jan
2005
17 Jan
'05
8:01 p.m.
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 ()
Seconded. peace, isaac
7431
Age (days ago)
7431
Last active (days ago)
0 comments
1 participants
participants (1)
-
Isaac Jones