Mercurial > urweb
comparison tests/efold.ur @ 244:71bafe66dbe1
Laconic -> Ur
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 31 Aug 2008 08:32:18 -0400 |
parents | tests/efold.lac@144d082b47ae |
children |
comparison
equal
deleted
inserted
replaced
243:2b9dfaffb008 | 244:71bafe66dbe1 |
---|---|
1 val currier : rs :: {Type} -> Cfold.currier rs = | |
2 fold [Cfold.currier] (fn nm :: Name => fn t :: Type => fn rest :: {Type} => fn acc => fn x : t => acc) {} | |
3 | |
4 val greenCurry : Cfold.greenCurry = currier [Cfold.greenCurryIngredients] | |
5 val redCurry : Cfold.redCurry = currier [Cfold.redCurryIngredients] | |
6 val yellowCurry : Cfold.yellowCurry = currier [Cfold.yellowCurryIngredients] | |
7 | |
8 val main = yellowCurry |