Gmane
X-Face Favicon
From: Jon Fairbairn <jon.fairbairn@...>
Subject: do and if then else (Ticket 23)
Newsgroups: gmane.comp.lang.haskell.prime
Date: 2006-08-16 14:54:00 GMT (2 years, 46 weeks, 1 day, 20 hours and 16 minutes ago)
This seems like a good idea, but if it's adopted, I'd argue
that the same thing should be done to case, for consistency.

I like to lay out case like this:

case whatever
of
   blah -> bluh
   blah' -> bluh'

and that also breaks under do. case exp1 [;] of ... would
solve this.

-- 
Jón Fairbairn                              Jon.Fairbairn at cl.cam.ac.uk