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