Lisp is LISP in the same sense that tequila is alcohol.
Name:
Anonymous2007-06-07 20:55 ID:mdbEznZ/
How about some good old VB.Net instead of that Java shit?
Dim add As Func(Of Integer, Integer, Integer) = Function(x, y) x + y
Dim add5 As Func(Of Integer, Integer) = Function(y) add(5, y)
Console.WriteLine(add5(2))
Name:
Anonymous2007-06-07 21:33 ID:riUCCjol
THE ONLY THING IN COMPUTER SCIENCE THAT CURRIES IS ALL THE FUCKING INDIANS TAKING OUR JARBS
>>58
It's the same. I just don't need that fucking class for that simple task. And I can easily have this:
Dim f5 As Func(Of Func(Of Integer, Integer, Integer), Integer) = Function(f, y) f(5, y)
Isn't it the same?
Name:
Anonymous2007-06-08 10:03 ID:468A6sJW
>>58
It's the same. I just don't need that fucking class for that simple task. And I can easily have this:
Dim F5 As Func(Of Func(Of Integer, Integer, Integer), Func(Of Integer, Integer)) = Function(f) Function(y) f(5, y)
Dim add5 = F5(add)
Isn't it the same?
Name:
Anonymous2007-06-08 11:02 ID:sUn+91Pw
I agree there is no need for currying, it's just convenient. In fact, that's what I said earlier in the thread.
But what you're doing is not currying.
Name:
Anonymous2007-06-08 11:08 ID:JKsST6n+
>>61
It's the same. I just don't need that fucking class for that simple task. And I can easily have this:
Dim F5 As Func(Of Func(Of Integer, Integer, Integer), Func(Of Integer, Integer)) = Function(f) Function(y) f(5, y)
Dim add5 = F5(add)
Isn't it the same?
Name:
Anonymous2007-06-08 11:12 ID:8Crn92nJ
>>62
It's the same. I just don't need that fucking class for that simple task. And I can easily have this:
Dim F5 As Func(Of Func(Of Integer, Integer, Integer), Func(Of Integer, Integer)) = Function(f) Function(y) f(5, y)
Dim add5 = F5(add)
Isn't it the same?
Name:
Anonymous2007-06-08 11:14 ID:468A6sJW
copypasta lol
But I think that >>60 is currying. We have some f(x,y) which happens to be add(x,y) (takes 2 arguements) and turn it into add5 function which takes 1 arguement via currification function f5.
Meybe I just don't know the definition of curryfication, but I thought it was makent the function take only 1 arguement.
>>54
First class functions? And anonymous functions? In MY Basic?
Wow, suddenly I have a lot more respect for VB.
Previously, my respect for it was like "pure stinking cow shit".
Now it's like "shit".
Name:
Anonymous2007-06-10 15:04 ID:rROFAuJZ
>>66
Name the "awesome" so that we can start a holy war.
Name:
Anonymous2007-06-11 4:48 ID:WNxYW4hD
>>67
Naturally, I was talking about Python. I didn't feel it was necessary to say it's awesome.
Name:
Anonymous2007-06-11 5:31 ID:4xmulQjY
>>68 ONE WORD, FORCED INDENTATION OF THE CODE, THREAD OVER
>>69
I am the creator of the `forced indentation' meme, and it's supposed to go:
``One word, the forced indentation of code. Thread over.''
Lookup the original `Bad things about Python' thread if you don't believe.
Such a failure of epic proportions.
Name:
Anonymous2007-06-14 23:10 ID:MuGJaBXj
>>72
I started the 'Bad things about Python' thread, I think I can claim responsibility for that meme actually.
Name:
Anonymous2007-06-14 23:40 ID:GEsVaSaK
I own the patent of the word "meme", United States Patent number 6530453, and I intent to monetize this intellectual property.
Name:
Anonymous2007-06-15 2:54 ID:RpNDIvkM
I founded this place, this /prog/, I have the rights to everything posted within.