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 /smlnj-lib/trunk/Util/hash-key-sig.sml
ViewVC logotype

View of /smlnj-lib/trunk/Util/hash-key-sig.sml

Parent Directory Parent Directory | Revision Log Revision Log

Revision 651 - (download) (annotate)
Thu Jun 1 18:34:03 2000 UTC (19 years, 4 months ago) by monnier
Original Path: sml/trunk/src/smlnj-lib/Util/hash-key-sig.sml
File size: 708 byte(s)
bring revisions from the vendor branch to the trunk
(* hash-key-sig.sml
 * COPYRIGHT (c) 1993 by AT&T Bell Laboratories.  See COPYRIGHT file for details.
 * Abstract hash table keys.  This is the argument signature for the hash table
 * functor (see hash-table-sig.sml and hash-table.sml).
 * AUTHOR:  John Reppy
 *	    AT&T Bell Laboratories
 *	    Murray Hill, NJ 07974
 *	    jhr@research.att.com

signature HASH_KEY =
    type hash_key

    val hashVal : hash_key -> word
	(* Compute an unsigned integer key from a hash key. *)

    val sameKey : (hash_key * hash_key) -> bool
	(* Return true if two keys are the same.
	 * NOTE: if sameKey(h1, h2), then it must be the
	 * case that (hashVal h1 = hashVal h2).

  end (* HASH_KEY *)

ViewVC Help
Powered by ViewVC 1.0.0