Changeset 38813 in project


Ignore:
Timestamp:
08/01/20 17:52:31 (9 days ago)
Author:
juergen
Message:

bindings 4.1 docu with bugfix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/5/bindings

    r38806 r38813  
    3636* a pair of patterns.
    3737
    38 where dotted lists (i.e patterns followed by two, tree or four dots)
     38where dotted lists (i.e list patterns followed by two, tree or four dots)
    3939are new in version 4.0.
    4040
     
    5151same macro.
    5252
    53 Dots might not only follow patterns but also expressions in documentation.
     53Dots might not only follow patterns but also expressions.
    5454Their meaning is
    5555
     
    9696<procedure>(bind-listify* seq? seq-car seq-cdr seq-null?)</procedure>
    9797
    98 the same as before but with a null?-variant of seq.
     98the same as before but with a null?-variant of seq (if not given, it is
     99constructed in bind's body).
    99100
    100101==== vector-car
     
    274275captures the current continuation in cc and executes xpr .... in this
    275276context.
     277
     278==== resolve-dots
     279
     280<macro>(resolve-dots . args)</macro>
     281
     282transforms the list args, which might contain lists followed by dots
     283into a list without dots and the list to dots' left spliced into the
     284result.
    276285
    277286=== Requirements
     
    572581; -> '(1 20 #(30 40) (2 3) 4 (5 6))
    573582
     583(resolve-dots 1 '(20 30) ... 4 '(40 50 60) .... 7)
     584; -> '(1 20 30 4 40 50 60 7)
    574585</enscript>
    575586
    576587== Last update
    577588
    578 Jun 27, 2020
     589Aug 01, 2020
    579590
    580591== Author
     
    614625
    615626== Version History
     627; 4.1 ; dotted lists in bodies added via resolve-dots
    616628; 4.0 ; dotted patterns added
    617629; 3.x ; bind-list* removed, bind-list does its job for nested lists only ;;;;;;
Note: See TracChangeset for help on using the changeset viewer.