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 269 - (view) (download)

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

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