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

View of /tests/trunk/bugs/tests.obsolete/bug209.2.sml

Parent Directory Parent Directory | Revision Log Revision Log

Revision 2460 - (download) (annotate)
Sat Apr 28 20:18:10 2007 UTC (12 years, 2 months ago) by gkuan
File size: 332 byte(s)
(* bug209.2.sml *)
(* problem in eqtypes/defineEqTycon/eqty *)

signature S1 = sig type t end;
structure A = struct type t = int end;
functor F(X : S1)  =  
  structure B = struct datatype s1 = K of X.t end
  datatype s = L of B.s1
structure C = F(A);

fun f(x:C.s) = (x = x);  (* is C.s recognized as equality type? *)

ViewVC Help
Powered by ViewVC 1.0.0