annotate tests/cfold_disj.lac @ 238:44a1663ad893

Checking for well-formed 'val rec'
author Adam Chlipala <adamc@hcoop.net>
date Thu, 28 Aug 2008 13:13:16 -0400
parents 94ef20a31550
children
rev   line source
adamc@90 1 con id = fold (fn nm => fn t :: Type => fn acc => [nm] ~ acc => [nm = t] ++ acc) []
adamc@90 2
adamc@90 3 con idT = id [D = int, E = float]
adamc@90 4
adamc@90 5 val idV = fn x : $idT => x.E