Changes between Version 5 and Version 6 of DoAndIfThenElse


Ignore:
Timestamp:
Sep 3, 2006 2:20:20 PM (8 years ago)
Author:
ross@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DoAndIfThenElse

    v5 v6  
    2727 
    2828i.e., add optional semicolons before `then` and `else`, making the above example legal. 
    29 This has been recently added to jhc and GHC, and 
    30 so far, it has not caused any problems. 
     29This has been recently added to jhc, GHC and Hugs, and so far it has not caused any problems. 
     30 
     31The second optional semicolon is the important one. 
     32The first one just adds a little more convenience; 
     33it has been suggested that it would be consistent to do the same before `of` in `case` expressions. 
    3134 
    3235== References ==