view tests/conargs.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 644558d9c756
children
line wrap: on
line source
con func a b = a -> b

signature S = sig
    con funcy a b = a -> b
end

structure M : S = struct
    con funcy = func
end