Sha256: ed1fab3e5b485e8408352bac77e7538a6f4f4e78194bdae06c833afd243d20fc

Contents?: true

Size: 331 Bytes

Versions: 8

Compression:

Stored size: 331 Bytes

Contents

(examples-for mapreduce
  ("maps a function over a list and sums the result"
   (mapreduce car + '((2 3) (5 7) (11 13)) 0)
   18)

  ("extracts an attribute and sums the result"
   (mapreduce &age + (list { name "a" age 10 }
                           { name "b" age  7 }
                           { name "c" age 12 }) 0)
   29))

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
nydp-0.6.0 lib/lisp/tests/mapreduce-examples.nydp
nydp-0.5.1 lib/lisp/tests/mapreduce-examples.nydp
nydp-0.5.0 lib/lisp/tests/mapreduce-examples.nydp
nydp-0.4.6 lib/lisp/tests/mapreduce-examples.nydp
nydp-0.4.5 lib/lisp/tests/mapreduce-examples.nydp
nydp-0.4.3 lib/lisp/tests/mapreduce-examples.nydp
nydp-0.4.2 lib/lisp/tests/mapreduce-examples.nydp
nydp-0.4.1 lib/lisp/tests/mapreduce-examples.nydp