... | ... | @@ -42,6 +42,18 @@ do case whatever |
|
|
blah' -> bluh'
|
|
|
```
|
|
|
|
|
|
>
|
|
|
>
|
|
|
> or perhaps
|
|
|
>
|
|
|
>
|
|
|
> ```wiki
|
|
|
> do case whatever of
|
|
|
> Cons -> bluh
|
|
|
> Nil -> foo
|
|
|
> ```
|
|
|
|
|
|
|
|
|
## Proposal
|
|
|
|
|
|
|
... | ... | @@ -67,7 +79,7 @@ it has been suggested that it would be consistent to do the same before `of` in |
|
|
|
|
|
|
|
|
|
|
|
**Possible addition**: optional semicolon before `of` in `case` expressions too.
|
|
|
**Possible addition**: optional semicolon before/(after?) `of` in `case` expressions too.
|
|
|
|
|
|
|
|
|
## References
|
... | ... | |