view tests/broad_unif.ur @ 1735:ec47f49c6aa3

In simplifying constructors for error messages, unfold constructor synonyms from modules
author Adam Chlipala <adam@chlipala.net>
date Wed, 02 May 2012 08:23:30 -0400
parents 71bafe66dbe1
children
line wrap: on
line source
structure M = struct
        type t = int
        val f = fn x => x
        val y = f 0
end

signature S = sig
        type t
        val f : t -> t
end

structure M : S = struct
        type t = int
        val f = fn x => x
end