view tests/cfold_disj.ur @ 1696:177547450bb9

Some minor documentation to the Mono AST.
author Edward Z. Yang <ezyang@mit.edu>
date Mon, 12 Mar 2012 12:00:13 -0700
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