Re: [Haskell] signature of when, unless

18 Jan
2005
18 Jan
'05
1:01 a.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
7477
Age (days ago)
7477
Last active (days ago)
0 comments
1 participants
participants (1)
-
Isaac Jones