Currying and block arity

Timmy Douglas timmy+slate at cc.gatech.edu
Thu Jun 15 09:53:51 PDT 2006


I was checking something out and I thought this looked a little weird:

Slate 6> #+ `er <- 1.
[(arity: 0)]
Slate 7> #+ `er.
[(arity: 2)]

Slate 17> [].
[(arity: 0)]



how did the arity of the block jump by 2 when I only curried one
thing? It still works of course when I applyWith: 1...



More information about the Slate mailing list