Sha256: 9aad72143776334d202b744440951f20f1bbcf60bcc3d85ffbc3cd1367750d27
Contents?: true
Size: 595 Bytes
Versions: 12
Compression:
Stored size: 595 Bytes
Contents
(def chicken-korma (a b c d e) (list a b c d e)) (examples-for curry ("zero-params assumes nil initial parameter" (let ck0 (curry chicken-korma) (ck0 1 2 3 4 5)) (1 2 3 4 5)) ("one param" (let ck0 (curry chicken-korma 'x) (ck0 1 2 3 4)) (x 1 2 3 4)) ("nestable" (let ck0 (curry chicken-korma 'x) ((curry ck0 'y) 1 2 3)) (x y 1 2 3)) ("two params" (let ck0 (curry chicken-korma 'x 'y) (ck0 1 2 3)) (x y 1 2 3)) ("three params ignores second and third params" (let ck0 (curry chicken-korma 'x 'y 'z) (ck0 1 2)) (x y z 1 2)))
Version data entries
12 entries across 12 versions & 1 rubygems