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

Diff of /smlnj-lib/trunk/Util/ord-map-sig.sml

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

revision 29, Thu Mar 12 01:05:59 1998 UTC revision 289, Sat May 22 21:01:25 1999 UTC
# Line 16  Line 16 
16      val empty : 'a map      val empty : 'a map
17          (* The empty map *)          (* The empty map *)
18    
19        val isEmpty : 'a map -> bool
20            (* Return true if and only if the map is empty *)
21    
22      val insert  : 'a map * Key.ord_key * 'a -> 'a map      val insert  : 'a map * Key.ord_key * 'a -> 'a map
23      val insert' : ((Key.ord_key * 'a) * 'a map) -> 'a map      val insert' : ((Key.ord_key * 'a) * 'a map) -> 'a map
24          (* Insert an item. *)          (* Insert an item. *)
# Line 28  Line 31 
31           * Raises LibBase.NotFound if not found.           * Raises LibBase.NotFound if not found.
32           *)           *)
33    
34        val first : 'a map -> 'a option
35        val firsti : 'a map -> (Key.ord_key * 'a) option
36            (* return the first item in the map (or NONE if it is empty) *)
37    
38      val numItems : 'a map ->  int      val numItems : 'a map ->  int
39          (* Return the number of items in the map *)          (* Return the number of items in the map *)
40    

Legend:
Removed from v.29  
changed lines
  Added in v.289

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