... | ... | @@ -39,7 +39,7 @@ This has been recently added to jhc, GHC and Hugs, and so far it has not caused |
|
|
The second optional semicolon is the important one.
|
|
|
The first one just adds a little more convenience.
|
|
|
|
|
|
**Possible addition**: Jon Fairbairn suggests that if an optional semicolon is added before `then`, it would be consistent to also add one before `of` in `case` expressions, allowing:
|
|
|
**Possible addition** (this addition is **not** part of the proposal as accepted for Haskell 2010): Jon Fairbairn suggests that if an optional semicolon is added before `then`, it would be consistent to also add one before `of` in `case` expressions, allowing:
|
|
|
|
|
|
```wiki
|
|
|
do case whatever
|
... | ... | |