comparison tests/efold.lac @ 74:144d082b47ae

Reduce efold
author Adam Chlipala <adamc@hcoop.net>
date Thu, 26 Jun 2008 12:12:06 -0400
parents 8b611ecc5f2d
children
comparison
equal deleted inserted replaced
73:8b611ecc5f2d 74:144d082b47ae
1 val currier : rs :: {Type} -> Cfold.currier rs = 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 => acc) {} 2 fold [Cfold.currier] (fn nm :: Name => fn t :: Type => fn rest :: {Type} => fn acc => fn x : t => 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 7