aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorCamil Staps2017-03-07 15:50:27 +0100
committerCamil Staps2017-03-07 15:50:27 +0100
commit4ef51410999ebcd12b967ba4228659f57650d956 (patch)
treee68360b980ec11beef52172a27102d282a5f8911 /README.md
parentAdd .gitignore (diff)
Tuple constructors (resolves #2)
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index 3c02a28..d6dd1a9 100644
--- a/README.md
+++ b/README.md
@@ -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