Mercurial > urweb
comparison tests/efold.lac @ 71:6431b315a1e3
Elaborate efold
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 26 Jun 2008 11:09:30 -0400 |
parents | |
children | 8b611ecc5f2d |
comparison
equal
deleted
inserted
replaced
70:2e0f3b21fb85 | 71:6431b315a1e3 |
---|---|
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) {} | |
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] |