... | ... | @@ -33,6 +33,15 @@ do case whatever |
|
|
blah' -> bluh'
|
|
|
```
|
|
|
|
|
|
>
|
|
|
> or perhaps
|
|
|
>
|
|
|
> ```wiki
|
|
|
> do case whatever of
|
|
|
> Cons -> bluh
|
|
|
> Nil -> foo
|
|
|
> ```
|
|
|
|
|
|
## Proposal
|
|
|
|
|
|
|
... | ... | @@ -50,7 +59,7 @@ The second optional semicolon is the important one. |
|
|
The first one just adds a little more convenience;
|
|
|
it has been suggested that it would be consistent to do the same before `of` in `case` expressions.
|
|
|
|
|
|
**Possible addition**: optional semicolon before `of` in `case` expressions too.
|
|
|
**Possible addition**: optional semicolon before/(after?) `of` in `case` expressions too.
|
|
|
|
|
|
## References
|
|
|
|
... | ... | |