smap   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/examples/core/audio_streams.xtm

Implementation

(bind-func smap:[Stream{!a}*,[!a,!a]*,Stream{!a}*]*
  (lambda (func xs)
    (if (null? xs)
        null
        (scons (func (scar xs)) (smap func (scdr xs))))))


Back to Index

Similar Entries