Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /tests/trunk/bugs/tests.obsolete/bug13.sml
ViewVC logotype

View of /tests/trunk/bugs/tests.obsolete/bug13.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 548 - (download) (annotate)
Tue Feb 29 16:38:11 2000 UTC (19 years, 4 months ago) by dbm
Original Path: sml/trunk/tests/bugs/tests/bug13.sml
File size: 230 byte(s)
Initial revision
(* bug13.sml *)

signature FOO = 
sig
   type T1 and T2
   val x1: T1 and x2: T2
   sharing type T1 = T2
end;

structure Foo:> FOO =
struct
   datatype T1 = CON
   type T2 = T1
   val x1 = CON and x2 = CON
end;

[Foo.x1, Foo.x2];

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0