Mercurial > urweb
view tests/cfold_disj.ur @ 2216:70ec9bb337be
Progress towards invalidation based on equalities of fields.
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Mon, 10 Nov 2014 22:04:40 -0500 |
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