diff tests/modproj.lac @ 34:44b5405e74c7

Elaborating module projection
author Adam Chlipala <adamc@hcoop.net>
date Tue, 17 Jun 2008 16:38:54 -0400
parents
children 1dfbd9e3e790
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/modproj.lac	Tue Jun 17 16:38:54 2008 -0400
@@ -0,0 +1,11 @@
+signature S = sig
+        type t
+        val zero : t
+end
+structure S : S = struct
+        type t = int
+        val zero = 0
+end
+
+type t = S.t
+val zero : t = S.zero