view tests/cfold_disj.ur @ 540:9eefa0cf3219

Module projection
author Adam Chlipala <adamc@hcoop.net>
date Sat, 29 Nov 2008 15:04:57 -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