annotate tests/efold.ur @ 1628:3621f486ce72
Don't crash on invalid URL head terms during Tag
author |
Adam Chlipala <adam@chlipala.net> |
date |
Sat, 03 Dec 2011 17:25:51 -0500 |
parents |
71bafe66dbe1 |
children |
|
rev |
line source |
adamc@71
|
1 val currier : rs :: {Type} -> Cfold.currier rs =
|
adamc@74
|
2 fold [Cfold.currier] (fn nm :: Name => fn t :: Type => fn rest :: {Type} => fn acc => fn x : t => acc) {}
|
adamc@71
|
3
|
adamc@71
|
4 val greenCurry : Cfold.greenCurry = currier [Cfold.greenCurryIngredients]
|
adamc@71
|
5 val redCurry : Cfold.redCurry = currier [Cfold.redCurryIngredients]
|
adamc@71
|
6 val yellowCurry : Cfold.yellowCurry = currier [Cfold.yellowCurryIngredients]
|
adamc@73
|
7
|
adamc@73
|
8 val main = yellowCurry
|