comparison tests/subsig.ur @ 244:71bafe66dbe1

Laconic -> Ur
author Adam Chlipala <adamc@hcoop.net>
date Sun, 31 Aug 2008 08:32:18 -0400
parents tests/subsig.lac@8bce148070a7
children
comparison
equal deleted inserted replaced
243:2b9dfaffb008 244:71bafe66dbe1
1 structure M = struct
2 signature S = sig
3 type t
4 end
5 end
6
7 structure N : M.S = struct
8 type t = int
9 end
10
11 structure M' = struct
12 type t = int
13 val y = 42
14
15 signature S = sig
16 val x : t
17 end
18 end
19
20 structure N' : M'.S = struct
21 val x = 0
22 end
23
24 signature S = sig
25 type t
26 val y : t
27
28 signature S = sig
29 val x : t
30 end
31 end
32
33 structure M'S : S = M'
34
35 structure V : M'S.S = struct
36 val x = M'S.y
37 end
38
39 structure M'S' = M'S
40
41 structure V : M'S'.S = struct
42 val x = M'S.y
43 end