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

View of /tests/trunk/bugs/tests.obsolete/bug129.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: 287 byte(s)
(* bug 129 -- Bind exception *)

signature S_sig=
sig 
  type 'a T
  val fs: 'a T -> 'a T
end;

functor S() =
struct
  datatype 'a T =  C
  fun fs  (x: 'a T )=  C: 'a T
end;

functor F (type t)=
struct
  structure S1: S_sig= S();
  open S1
  type  FT = t T
  fun ff (x : FT)=  fs x
end;

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