PackageDescription: BlockCurrying


Block Currying

Last published: March 4, 2009 by 'michael'

Defines 2 Classes
Extends 3 Classes


BlockCurrying provides an API for pre-consuming arguments to a block with the API of curry:*
The API is a reflection of the value:* and cull:* APIs except calling curry: will never execute the block in question, but will return you a new CurriedBlockClosure.

Examples:
([:a :b | a + b] curry: 10) value: 20.
([:a :b :c | a + b + c] curry: 1 curry: 2 curry: 3) value.
([:a :b :c | a + b + c] curry: 1 curry: 2 curry: 3) cull: 4 cull: 5 cull: 6.