Changeset 26553 in project


Ignore:
Timestamp:
04/22/12 23:55:47 (8 years ago)
Author:
Jim Ursetto
Message:

man/special-forms: Add restvar example to let-optionals\*

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/man/4/Non-standard macros and special forms

    r25875 r26553  
    135135
    136136<enscript highlight=scheme>
    137 (let-optionals* '(one two) ((a 1) (b 2) (c a))
    138   (list a b c) )                               ==> (one two one)
     137(let-optionals* '(one two)
     138                 ((a 1) (b 2) (c a))
     139  (list a b c))                        ;=> (one two one)
     140
     141(let-optionals* '(one two three four five)
     142                 ((a 1) (b 2) (c a) r)
     143  (list a b c r))                      ;=> (one two three (four five))
    139144</enscript>
    140145
Note: See TracChangeset for help on using the changeset viewer.