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

SCM Repository

[smlnj] Diff of /sml/trunk/src/smlnj-lib/Util/hash-table.sml
ViewVC logotype

Diff of /sml/trunk/src/smlnj-lib/Util/hash-table.sml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3, Sat Oct 4 23:33:46 1997 UTC revision 8, Sun Jan 18 01:01:29 1998 UTC
# Line 43  Line 43 
43              n_items = ref 0              n_items = ref 0
44            }            }
45    
46      (* remove all elements from the table *)
47        fun clear (HT{table, n_items, ...}) = (HTRep.clear(!table); n_items := 0)
48    
49    (* Insert an item.  If the key already has an item associated with it,    (* Insert an item.  If the key already has an item associated with it,
50     * then the old item is discarded.     * then the old item is discarded.
51     *)     *)

Legend:
Removed from v.3  
changed lines
  Added in v.8

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