Higher-order Functions - slide 13 : 34 |
Expression | Value |
(filter even? '(1 2 3 4 5)) | (2 4) |
(filter (negate even?) '(1 2 3 4 5)) | (1 3 5) |
(ol (map li (filter string? (list 1 'a "First" "Second" 3)))) |
|
Same as above | <ol> <li>First</li> <li>Second</li> </ol> |