diff options
author | Camil Staps | 2017-03-06 22:09:49 +0100 |
---|---|---|
committer | Camil Staps | 2017-03-06 22:11:55 +0100 |
commit | 0cd7371ce8f7956a856f11632ea2fbd7a88fda75 (patch) | |
tree | e5dc63b97c81e9d58a1aeedcfb1516d372d8d62e /README.md | |
parent | Readme (diff) |
Make of in lambdacase optional
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -41,6 +41,15 @@ is transformed to where `x` is a fresh variable. +The `of` is optional (though recommended to distinguish Clean from Haskell). + +The extension to the grammar: + +``` +LambdaAbstr = ... + | \case [of] {CaseAltDef}+ +``` + [clean]: http://clean.cs.ru.nl [cocl]: https://svn.cs.ru.nl/repos/clean-compiler/ [ghclambdacase]: https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#lambda-case |