scan   scheme


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/runtime/scheme.xtm

Implementation

(define (scan proc val lst)
    (if (null? lst)
        '()
        (cons (proc val (car lst)) (scan proc (proc val (car lst)) (cdr lst)))))


Back to Index

Similar Entries

  • impc:ti:fscanf-check    scheme
  • impc:ti:sscanf-check    scheme
  • scanl    xtlang
  • scanr    xtlang