Mercurial > urweb
comparison tests/open.lac @ 61:48b6d2c3df46
open
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 22 Jun 2008 19:34:35 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
60:8bce148070a7 | 61:48b6d2c3df46 |
---|---|
1 structure S = struct | |
2 type t = int | |
3 val x = 0 | |
4 | |
5 structure S' : sig type u val y : t end = struct | |
6 type u = t | |
7 val y = x | |
8 end | |
9 | |
10 signature Sig = sig | |
11 type t | |
12 val x : t | |
13 end | |
14 end | |
15 | |
16 open S.S' | |
17 open S | |
18 open S' | |
19 | |
20 structure S' : Sig = S |