comparison tests/open_functor.ur @ 244:71bafe66dbe1

Laconic -> Ur
author Adam Chlipala <adamc@hcoop.net>
date Sun, 31 Aug 2008 08:32:18 -0400
parents tests/open_functor.lac@80ac94b54e41
children
comparison
equal deleted inserted replaced
243:2b9dfaffb008 244:71bafe66dbe1
1 signature S = sig
2 type t
3 val x : t
4 end
5
6 functor F (M : S) : S where type t = M.t = struct
7 type t = M.t
8 val x = M.x
9 end
10
11 structure M = F(struct
12 type t = int
13 val x = 0
14 end)
15
16 open M