annotate tests/cancel2.ur @ 1887:2e6795cc992f

A fancier test for the new SQL constraints subtyping
author Adam Chlipala <adam@chlipala.net>
date Mon, 04 Nov 2013 16:00:48 -0500
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