Talk:If-then-else

From HaskellWiki
Revision as of 14:41, 4 March 2008 by ConorMcBride (talk | contribs) (liftM3 if' considered harmful)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Just to remark that

 liftM3 if' (return False) deleteHardDrive (return ())

executes deleteHardDrive, then decides to return the value of (return ()).