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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2460 - (download) (annotate)
Sat Apr 28 20:18:10 2007 UTC (12 years, 1 month ago) by gkuan
File size: 418 byte(s)
(* bug1327.sml *)

signature S1 =
sig
  datatype t = U               
end;

signature S2 =
sig
  structure A : S1
  datatype u = U of A.t
end;

signature S3 =
sig 
  structure B : S2
end;

functor F1 (structure X : S1
	    structure Y : S2 where A = X)
    :> S3 where B = Y
 =
struct
  structure B = Y
end;

functor F2 () =
struct
  structure D = F1(structure X = struct datatype t = U end
		   structure Y = Z)
end;

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