Changeset 13740 in project for chicken/trunk/manual/Unit extras


Ignore:
Timestamp:
03/14/09 03:17:07 (11 years ago)
Author:
Kon Lovett
Message:

Ordered by srfi #. Added srfi-69.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chicken/trunk/manual/Unit extras

    r13683 r13740  
    192192
    193193
    194 === Hash tables
    195 
    196 CHICKEN implements SRFI-69. For more information,
    197 see [[http://srfi.schemers.org/srfi-69/srfi-69.html|SRFI-69]].
    198 
    199 A setter for {{hash-table-ref}} is defined, so
    200 
    201 <enscript highlight=scheme>
    202 (set! (hash-table-ref HT KEY) VAL)
    203 </enscript>
    204 
    205 is equivalent to
    206 
    207 <enscript highlight=scheme>
    208 (hash-table-set! HT KEY VAL)
    209 </enscript>
    210 
    211 As an extension to SRFI-69, {{hash-table-update!}} and {{hash-table-update!/default}} return
    212 the new value (after applying the update procedure).
    213 
    214 ==== hash-table-remove!
    215 
    216  [procedure] (hash-table-remove! HASHTABLE PROC)
    217 
    218 Calls {{PROC}} for all entries in {{HASHTABLE}} with the key and value of each
    219 entry. If {{PROC}} returns true, then that entry is removed.
    220 
    221 
    222 
    223194=== Queues
    224195
     
    808779Previous: [[Unit files]]
    809780
    810 Next: [[Unit srfi-1]]
     781Next: [[Unit regex]]
Note: See TracChangeset for help on using the changeset viewer.