aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/cfold.lac
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cfold.lac')
-rw-r--r--tests/cfold.lac9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/cfold.lac b/tests/cfold.lac
index 03f4b695..0fcf9d60 100644
--- a/tests/cfold.lac
+++ b/tests/cfold.lac
@@ -1,12 +1,15 @@
con currier = fold (fn nm => fn t => fn acc => t -> acc) {}
-con greenCurry = currier []
+con greenCurryIngredients :: {Type} = []
+con greenCurry = currier greenCurryIngredients
val greenCurry : greenCurry = {}
-con redCurry = currier [A = int, B = string]
+con redCurryIngredients = [A = int, B = string]
+con redCurry = currier redCurryIngredients
val redCurry : redCurry = fn x : int => fn y : string => {}
-con yellowCurry = currier [A = string, B = int, C = float]
+con yellowCurryIngredients = [A = string, B = int, C = float]
+con yellowCurry = currier yellowCurryIngredients
val yellowCurry : yellowCurry = fn x => fn y => fn z => {}
val main = yellowCurry