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

View of /tests/trunk/bugs/tests.obsolete/bug1421.1.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2071 - (download) (annotate)
Tue Oct 31 02:58:12 2006 UTC (12 years, 9 months ago) by blume
Original Path: tests/trunk/bugs/tests/bug1421.1.sml
File size: 251 byte(s)
moved tests trunk
(* bug1421.1.sml *)

signature E =
sig
  type 'a err
  val OK : 'a -> 'a err
  val map : ('a -> 'b) -> 'a err -> 'b err
end;

structure E1 : E =
struct
  type 'a err = 'a
  fun OK x = x
  fun map1 f = f
  val map = map1 (* causes an error ... *)
end;

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