annotate tests/cancel2.ur @ 2049:459ccbf8cd08

When unifying constructor-level unification variables, also unify their kinds
author Adam Chlipala <adam@chlipala.net>
date Fri, 01 Aug 2014 16:11:36 -0400
parents 125f9b01fbf1
children
rev   line source
adam@1724 1 fun f [r] [[Id, Foo] ~ r] (x : $(map (fn ts => $ts) r ++ [Id = int, Foo = string]))
adam@1724 2 : $(map (fn ts => $ts) r ++ [Foo = string]) = x
adam@1724 3
adam@1724 4 val r = {}
adam@1724 5 val x : $(map (fn ts => $ts) _ ++ [Foo = string]) = f r