Mercurial > urweb
view tests/cfold_disj.lac @ 197:b1b9bcfd8c42
Re-consistent-ify naming of union members
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sat, 09 Aug 2008 16:54:04 -0400 |
parents | 94ef20a31550 |
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