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 /sml/trunk/src/cm/util/symbolordkey.sml
ViewVC logotype

Annotation of /sml/trunk/src/cm/util/symbolordkey.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 651 - (view) (download)

1 : blume 269 (*
2 : blume 447 * Argument for SetFn and MapFn for the case of symbols.
3 : blume 269 *
4 :     * (C) 1999 Lucent Technologies, Bell Laboratories
5 :     *
6 :     * Author: Matthias Blume (blume@kurims.kyoto-u.ac.jp)
7 :     *)
8 :     structure SymbolOrdKey = struct
9 : blume 278 type ord_key = Symbol.symbol
10 : blume 269 fun compare (s1, s2) =
11 : blume 278 if Symbol.symbolCMLt (s1, s2) then LESS
12 :     else if Symbol.eq (s1, s2) then EQUAL
13 : blume 269 else GREATER
14 :     end

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