Talk:If-then-else
From HaskellWiki
Just to remark that
liftM3 if' (return False) deleteHardDrive (return ())
executes deleteHardDrive, then decides to return the value of (return ()). --Conor McBride 14:41, 4 March 2008 (UTC)
bool-extras
I've just uploaded a package to Hackage that contains a similar function to the proposedif'
bool
maybe
either
if'
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/bool-extras --TomLokhorst 09:09, 13 May 2009 (UTC)
