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

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

structure A =
struct
  datatype at = A | B | C of int
end;

local
  open A Foo
in
  fun toString A = "A"
    | toString B = "B"
    | toString (C i) = "C " ^ Int.toString i
end;

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