From 447b60afccc89ef18d8f92a260dd1fcdf735898e Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Sun, 31 Aug 2008 08:32:18 -0400 Subject: Laconic -> Ur --- tests/efold.ur | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/efold.ur (limited to 'tests/efold.ur') diff --git a/tests/efold.ur b/tests/efold.ur new file mode 100644 index 00000000..317d0852 --- /dev/null +++ b/tests/efold.ur @@ -0,0 +1,8 @@ +val currier : rs :: {Type} -> Cfold.currier rs = + fold [Cfold.currier] (fn nm :: Name => fn t :: Type => fn rest :: {Type} => fn acc => fn x : t => acc) {} + +val greenCurry : Cfold.greenCurry = currier [Cfold.greenCurryIngredients] +val redCurry : Cfold.redCurry = currier [Cfold.redCurryIngredients] +val yellowCurry : Cfold.yellowCurry = currier [Cfold.yellowCurryIngredients] + +val main = yellowCurry -- cgit v1.2.3