Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Annotation of /tests/trunk/bugs/tests.obsolete/bug92.2.sml
ViewVC logotype

Annotation of /tests/trunk/bugs/tests.obsolete/bug92.2.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2071 - (view) (download)
Original Path: tests/trunk/bugs/tests/bug92.2.sml

1 : dbm 548 (* bug92.2.sml *)
2 :    
3 :     functor OrdSet(B : sig
4 :     type elem
5 :     val gt : elem * elem -> bool
6 :     val eq : elem * elem -> bool
7 :     end) =
8 :     struct
9 :     end
10 :    
11 :     structure Bad =
12 :     struct
13 :     type 'a elem = int * 'a
14 :     val gt = fn ((a:int,_),(b,_)) => a > b
15 :     val eq = fn ((a:int,_),(b,_)) => a = b
16 :     end
17 :    
18 :     structure X = OrdSet(Bad)

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