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/bug1547.1.sml
ViewVC logotype

View of /tests/trunk/bugs/tests.obsolete/bug1547.1.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/bug1547.1.sml
File size: 346 byte(s)
Initial revision
(* bug1547.1.sml *)

signature S = sig type t  val x: t  val f: t -> string end;

structure A :> S = struct type t = int  val x = 1 val f = Int.toString end;
structure B :> S = struct type t = string  val x = "1"  fun f s = s end;

signature SS = sig structure X : S = A end;

structure C :> SS = struct structure X = B end;

val x = C.X.f(A.x);

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