Mercurial > urweb
view tests/cfold_disj.ur @ 324:b91480c9a729
More opportunities to use regions and lack of string copying
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 11 Sep 2008 13:06:51 -0400 |
parents | 71bafe66dbe1 |
children |
line wrap: on
line source
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