diff options
author | Camil Staps | 2017-03-07 15:50:27 +0100 |
---|---|---|
committer | Camil Staps | 2017-03-07 15:50:27 +0100 |
commit | 4ef51410999ebcd12b967ba4228659f57650d956 (patch) | |
tree | e68360b980ec11beef52172a27102d282a5f8911 /README.md | |
parent | Add .gitignore (diff) |
Tuple constructors (resolves #2)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -12,6 +12,7 @@ This is a fork to implement experimental new features. 1\. [Syntactic sugar](#1-syntactic-sugar) 1.1. [Lambda-case](#11-lambda-case) +1.2. [Tuple constructors](#12-tuple-constructors) 2\. [Syntax changes](#2-syntax-changes) 2.1. [Use of module header keywords](#21-use-of-module-header-keywords) @@ -50,6 +51,16 @@ LambdaAbstr = ... | \case of {CaseAltDef}+ ``` +### 1.2. Tuple constructors + +There are now tuple constructors that can be used curriedly, similar to GHC and +the way the tuple type could be curried already. For example: + +```clean +import StdFunc +Start = flip (,) 5 10 +``` + ## 2. Syntax changes ### 2.1. Use of module header keywords |