annotate tests/cancel2.ur @ 2190:22117edf8fd3

After a tricky debugging session, limit visibility of type-class instances from anonymous modules
author Adam Chlipala <adam@chlipala.net>
date Sun, 01 Nov 2015 16:33:14 -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