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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 278 - (download) (annotate)
Mon May 17 14:53:49 1999 UTC (21 years, 1 month ago) by blume
File size: 378 byte(s)
more towards dependency analysis
(*
 * Argument for BinarySetFn and BinaryMapFn for the case of symbols.
 *
 * (C) 1999 Lucent Technologies, Bell Laboratories
 *
 * Author: Matthias Blume (blume@kurims.kyoto-u.ac.jp)
 *)
structure SymbolOrdKey = struct
    type ord_key = Symbol.symbol
    fun compare (s1, s2) =
	if Symbol.symbolCMLt (s1, s2) then LESS
	else if Symbol.eq (s1, s2) then EQUAL
	else GREATER
end

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