filtermap (173B)
1 (define (filtermap p f lst) 2 (cond 3 [(empty? lst) empty] 4 [(p (first lst)) (cons (f (first lst)) (filtermap p f (rest lst)))] 5 [else (filtermap p f (rest lst))]))
fop-marcosCollection of macros to to help during the FOP exam. | |
git clone git://git.oshgnacknak.de/fop-marcos.git | |
Log | Files | Refs | README |