Sha256: 493e8c38e9ed78f2305fffc73aff0be6b6056aa5475344fd1c3e770981884f97
Contents?: true
Size: 427 Bytes
Versions: 17
Compression:
Stored size: 427 Bytes
Contents
(examples-for mapsum ("maps a function over a list and sums the result" (mapsum car '((2 3) (5 7) (11 13))) 18) ("extracts an attribute and sums the result" (mapsum &age (list { name "a" age 10 } { name "b" age 7 } { name "c" age 12 })) 29)) (examples-for mapply ("applies each list to the given function" (mapply + '((1 2 3) (4 5 6) (7 8 9))) (6 15 24)))
Version data entries
17 entries across 17 versions & 1 rubygems