diff options
Diffstat (limited to 'tests/efold.lac')
-rw-r--r-- | tests/efold.lac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/efold.lac b/tests/efold.lac new file mode 100644 index 00000000..6f4c768c --- /dev/null +++ b/tests/efold.lac @@ -0,0 +1,6 @@ +val currier : rs :: {Type} -> Cfold.currier rs = + fold [Cfold.currier] (fn nm :: Name => fn t :: Type => fn rest :: {Type} => fn acc => fn x => acc) {} + +val greenCurry : Cfold.greenCurry = currier [Cfold.greenCurryIngredients] +val redCurry : Cfold.redCurry = currier [Cfold.redCurryIngredients] +val yellowCurry : Cfold.yellowCurry = currier [Cfold.yellowCurryIngredients] |