Changes between Version 66 and Version 67 of HashTablesCowan


Ignore:
Timestamp:
06/19/13 03:24:31 (4 years ago)
Author:
cowan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HashTablesCowan

    v66 v67  
    144144Returns a newly allocated hash table, created as if by `make-hash-table`.  For each pair of arguments, an association is added to the new hash table with ''key'' as its key and ''value'' as its value. 
    145145 
    146 `(hash-table-unfold `''continue? mapper successor seed comparator'' [ ''hash'' ]`)` 
     146`(hash-table-unfold `''continue? mapper successor seed comparator'' ]`)` 
    147147 
    148148Create a new hash table as if by `make-hash-table`.  If the result of applying the predicate ''continue?'' to ''seed'' is `#f`, return the hash table.  Otherwise, apply the procedure ''mapper'' to ''seed''.  ''Mapper'' returns two values, which are inserted into the hash table as the key and the value respectively.  Then get a new seed by applying the procedure ''successor'' to ''seed'', and repeat this algorithm. 
     
    324324Returns an alist with the same associations as ''hash-table'' in an unspecified order. 
    325325 
    326 `(alist->hash-table `''alist comparator hash''`)` 
     326`(alist->hash-table `''alist comparator''`)` 
    327327 
    328328Returns a newly allocated hash-table as if by `make-hash-table`, initializing it from the associations of ''alist''.  (SRFI 69 `alist->hash-table`)