Mercurial > urweb
diff tests/modproj.lac @ 35:1dfbd9e3e790
Proper selfification
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 17 Jun 2008 17:08:28 -0400 |
parents | 44b5405e74c7 |
children | 02f42e9a1825 |
line wrap: on
line diff
--- a/tests/modproj.lac Tue Jun 17 16:38:54 2008 -0400 +++ b/tests/modproj.lac Tue Jun 17 17:08:28 2008 -0400 @@ -1,11 +1,23 @@ -signature S = sig +signature S1 = sig type t val zero : t end -structure S : S = struct +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 = S.t -val zero : t = S.zero +type t = S1.t +val zero : t = S1.zero + +type t = S2.t +val zero : int = S2.zero + +structure T = S1 +val zero : S1.t = T.zero