Changeset 34651 in project


Ignore:
Timestamp:
09/29/17 06:31:29 (3 weeks ago)
Author:
kon
Message:

rel 1.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/list-utils

    r34122 r34651  
    1515
    1616Returns 2 values, the {{COUNT}} {{pair}} from {{LIST}}, and the remaining
    17 count. The remaining count will be non-zero when end-of-list reached.
     17count. The remaining count will be zero when end-of-list reached.
    1818
    1919{{COUNT}} is a {{natural fixnum}}.
     
    115115<macro>(alist-delete-first KEY ALIST [TEST?])</macro>
    116116
    117 Returns {{(alist-delete/count KEY ALIST [TEST?] 1)}}.
     117Returns {{(alist-delete-for-count KEY ALIST [TEST?] 1)}}.
    118118
    119119=== alist-delete-first!
     
    159159{{TEST?}} is {{eqv?}} and {{NOT-FOUND}} is {{#f}}.
    160160
    161 === alist-delete/count
    162 
    163 <procedure>(alist-delete/count KEY ALIST [TEST? [COUNT]])</procedure>
     161=== alist-delete-for-count
     162
     163<procedure>(alist-delete-for-count KEY ALIST [TEST? [COUNT]])</procedure>
    164164
    165165Deletes the first {{COUNT}} associations from alist {{ALIST}} with the given
     
    178178{{eqv?}}.
    179179
    180 === alist-delete!/count
    181 
    182 <procedure>(alist-delete!/count KEY ALIST [TEST? [COUNT]])</procedure>
    183 
    184 Destructive version of {{alist-delete/count}}.
     180=== alist-delete-for-count!
     181
     182<procedure>(alist-delete-for-count! KEY ALIST [TEST? [COUNT]])</procedure>
     183
     184Destructive version of {{alist-delete-for-count}}.
    185185
    186186{{alist-delete-first}} and {{alist-delete-first!}} are also available as
     
    281281== Version history
    282282
     283; 1.2.0 : Add {{alist-delete-for-count}} & {{alist-delete-for-count!}}.
    283284; 1.1.2 : .
    284285; 1.1.1 : Fix for ticket #630
Note: See TracChangeset for help on using the changeset viewer.