comparison tests/efold.lac @ 73:8b611ecc5f2d

Corify efold
author Adam Chlipala <adamc@hcoop.net>
date Thu, 26 Jun 2008 11:32:29 -0400
parents 6431b315a1e3
children 144d082b47ae
comparison
equal deleted inserted replaced
72:0ee10f4d73cf 73:8b611ecc5f2d
2 fold [Cfold.currier] (fn nm :: Name => fn t :: Type => fn rest :: {Type} => fn acc => fn x => acc) {} 2 fold [Cfold.currier] (fn nm :: Name => fn t :: Type => fn rest :: {Type} => fn acc => fn x => acc) {}
3 3
4 val greenCurry : Cfold.greenCurry = currier [Cfold.greenCurryIngredients] 4 val greenCurry : Cfold.greenCurry = currier [Cfold.greenCurryIngredients]
5 val redCurry : Cfold.redCurry = currier [Cfold.redCurryIngredients] 5 val redCurry : Cfold.redCurry = currier [Cfold.redCurryIngredients]
6 val yellowCurry : Cfold.yellowCurry = currier [Cfold.yellowCurryIngredients] 6 val yellowCurry : Cfold.yellowCurry = currier [Cfold.yellowCurryIngredients]
7
8 val main = yellowCurry