summaryrefslogtreecommitdiff
path: root/tests/cfold_disj.lac
blob: e0a1948471f2637b57bd46a93da17f3cfb428855 (plain)
1
2
3
4
5
con id = fold (fn nm => fn t :: Type => fn acc => [nm] ~ acc => [nm = t] ++ acc) []

con idT = id [D = int, E = float]

val idV = fn x : $idT => x.E