comparison tests/modproj.ur @ 244:71bafe66dbe1

Laconic -> Ur
author Adam Chlipala <adamc@hcoop.net>
date Sun, 31 Aug 2008 08:32:18 -0400
parents tests/modproj.lac@02f42e9a1825
children
comparison
equal deleted inserted replaced
243:2b9dfaffb008 244:71bafe66dbe1
1 signature S1 = sig
2 type t
3 val zero : t
4 end
5 signature S2 = sig
6 type t = int
7 val zero : t
8 end
9 structure S = struct
10 type t = int
11 val zero = 0
12 end
13 structure S1 : S1 = S
14 structure S2 : S2 = S
15
16 type t = S1.t
17 val zero : t = S1.zero
18
19 type t = S2.t
20 val zero : int = S2.zero
21
22 structure T = S1
23 val main : S1.t = T.zero