From 4ef51410999ebcd12b967ba4228659f57650d956 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Tue, 7 Mar 2017 15:50:27 +0100 Subject: Tuple constructors (resolves #2) --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'README.md') 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 -- cgit v1.2.3