Sha256: 0e2c5b5386518245361e2f9b94b150efd74297b442643051d2a7976fb154479c
Contents?: true
Size: 372 Bytes
Versions: 1
Compression:
Stored size: 372 Bytes
Contents
(examples-for andify ("takes a list of functions A and returns a function that applies its arguments to each f in A in turn, returning the logical AND of the set of return values" (with (even? λn(eq? (mod n 2) 0) triple? λn(eq? (mod n 3) 0) big? λn(> n 10)) (select (andify even? triple? big?) (range -10 31))) (12 18 24 30)))
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nydp-0.6.0 | lib/lisp/tests/andify-examples.nydp |