Mercurial > urweb
view tests/modproj.lac @ 62:d72b89a1b150
Signature duplicate entry checking
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 22 Jun 2008 19:44:01 -0400 |
parents | 02f42e9a1825 |
children |
line wrap: on
line source
signature S1 = sig type t val zero : t end signature S2 = sig type t = int val zero : t end structure S = struct type t = int val zero = 0 end structure S1 : S1 = S structure S2 : S2 = S type t = S1.t val zero : t = S1.zero type t = S2.t val zero : int = S2.zero structure T = S1 val main : S1.t = T.zero