lambda { lambda { lambda {} } }.call
1
Name:
Anonymous
2011-07-04 0:31
if lambda is not every other word in your source code, then you are doing something wrong.
2
Name:
Anonymous
2011-07-04 0:32
I code in lambda calculus.
3
Name:
Anonymous
2011-07-04 0:36
b = 0
lambda{ b += 1}.call
4
Name:
Anonymous
2011-07-04 0:48
>>3
Mutable state considered harmful.
5
Name:
Anonymous
2011-07-04 1:08
>>4
Too bad. Lambda functions can touch the rest of the program. Functions made through def can't. Dealwithit.
6
Name:
Anonymous
2011-07-04 1:16
We'll be arguing about whose lambda is better in no time.
7
Name:
Anonymous
2011-07-04 1:28
>>6
It's obviously the Ruby lambda. Your lambdas aren't considered first class objects with methods and members of their own.
8
Name:
Anonymous
2011-07-04 1:43
>>7
Ruby is a terrible language.
9
Name:
Anonymous
2011-07-04 1:53
>>8
Howso? Other than being as slow as python, it's a damn good language and one of the few to support pure object orientation.
10
Name:
Anonymous
2011-07-04 4:03
both Ruby and Scheme are horribly designed.
11
Name:
dubzbot-ng
2011-07-04 4:03
:GJS1M 67dcbdbce4a0b67c4b48e86a6ae29205a95e4b83024a9d947213d1231800e8d9
:42 5662243128138295de7d602de75188c6
:1309753869 1309766613
>>10
<-- check 'em
12
Name:
Anonymous
2011-07-04 4:03
>>10
meant Python not Scheme....
13
Name:
Anonymous
2011-07-04 4:33
bump
14
Name:
Anonymous
2011-07-04 5:51
15
Name:
Anonymous
2011-07-04 7:24
>>12
In all fairness, scheme is also horribly designed.
16
Name:
Anonymous
2011-07-04 14:01
>>15
nah, just incomplete
17
Name:
Anonymous
2011-07-04 14:37
>>16
It's NP- and Touring-complete.
18
Name:
Anonymous
2011-07-04 20:45
>>1
That's why Perl 6 has a
lambda operator.
19
Name:
Anonymous
2011-07-04 20:49
>>9
one of the few
It's one of the few pure-OO languages I avoid. It's one of the relative few pure-OO languages invented as late as the 1990s. It's one of the few
aw fuck it IHBT .