Changeset 38867 in project


Ignore:
Timestamp:
08/21/20 18:09:23 (5 weeks ago)
Author:
juergen
Message:

callable-sequences 1.1 docu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/5/callable-sequences

    r38850 r38867  
    5858constructors make-sas-callable and make-ras-callable respectively.
    5959
     60==== make-callable*
     61
     62<procedure>(make-callable* seq)</procedure>
     63
     64recursive version of make-callable
     65
    6066==== make-sas-callable
    6167
     
    198204; -> "543210"
    199205
     206;; recursive examples
     207(define vp* (make-callable* (vector 'a '(b . c))))
     208((vp* 1) 0)
     209; -> 'b
     210(((vp* 1) 1 #f))
     211; -> 'c
     212
     213(define vs* (make-callable* (vector 'a "bc")))
     214((vs* 1) 0)
     215; -> #\b
     216((vs* 1) 1)
     217; -> #\c
     218(((vs* 1) 2 #f))
     219; -> ""
     220
     221(define lv** (make-callable* '(a (b #(c d) e) f)))
     222(lv** 0)
     223; -> 'a
     224((lv** 1) 0)
     225; -> 'b
     226(((lv** 1) 1) 0)
     227; -> 'c
     228(((lv** 1) 1) 1)
     229; -> 'd
     230(lv** 2)
     231; -> 'f
     232((lv** 1) 2)
     233; -> 'e
     234
    200235</enscript>
    201236
    202237== Last update
    203238
    204 Aug 17, 2020
     239Aug 21, 2020
    205240
    206241== Author
     
    240275
    241276== Version History
    242 ; 1.0.0 ; initial version
     277; 1.1 : make-callable* added, a recursive version of (make-callable seq)
     278; 1.0.0 : initial version
Note: See TracChangeset for help on using the changeset viewer.