[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: call/cc



On Fri, 14 Dec 2001, Paul Graham wrote:

> I think these numbers are a little misleading because
> mandatory whitespace, though an expressive element
> (i.e. the meaning of the program changes if you take
> it out) is not counted as a token. What would the numbers
> be if you counted mandatory whitespace?  Here's Scheme's
> entry:
>
> ((lambda(x y)(+ x y))3 5)        20 elements

Smalltalk:
[:x :y|x+y]value:3value:5         15 elements

Ruby:
proc{|x,y|x+y}[3,5]               16 elements