Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Jon Fairbairn <jon.fairbairn-kDbDZe0LBGWFxr2TtlUqVg <at> public.gmane.org>
Subject: do and if then else (Ticket 23)
Newsgroups: gmane.comp.lang.haskell.prime
Date: Wednesday 16th August 2006 14:54:00 UTC (over 11 years 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
 
CD: 4ms