^^
1
Name:
Anonymous
2008-07-06 4:41
09:36 < mjrosenb> i like how if is an entirely superfuluous construct in haskell
your face is an entirely ``superfuluous'' 1 construct
1 superfluous
2
Name:
Anonymous
2008-07-06 5:16
>>1
Are you saying he's wrong? Because then
your wrong !
3
Name:
Anonymous
2008-07-06 5:30
You need the if construct in Haskell whenever your coding procedural style impurely functional code.
4
Name:
Anonymous
2008-07-06 5:46
In Haskell
if p then a else b
is just syntactic sugar for
case p of
True -> a
False -> b
5
Name:
Anonymous
2008-07-06 6:13
In Python
if p then a else b
is just syntactic sugar for
if p:
a
else:
b
6
Name:
Anonymous
2008-07-06 11:07
if in Sepples is an entirely superfu luous construct.
switch(p) {
case true: /*...*/; break;
case false: /*...*/; break;
case FILE_NOT_FOUND: /*...*/; break;
}
7
Name:
Anonymous
2008-07-06 11:25
>>5
No, that's invalid syntax faggot.
a if p else b is short for
if p:
a
else:
b, though, and it fits in an expression.
8
Name:
Anonymous
2008-07-06 11:35
9
Name:
Anonymous
2008-07-06 11:54
>>6
WHO ARE YOU ON TDWTF?
10
Name:
Anonymous
2008-07-06 12:17
>>9
I am Alex Papadoumawopalopalis.
11
Name:
Anonymous
2008-07-06 12:31
>>9
I am Java Mamadalohupoligous.
12
Name:
Anonymous
2008-07-06 18:20
>>6
switch(p) {
case 0:
...
break;
default:
...
}
alternately,
while (p) {
...
goto fi;
}
...
fi:
13
Name:
Anonymous
2008-07-06 21:41
14
Name:
Anonymous
2008-07-06 21:45
>>13
You'll become too crazy to manage to be smug.
15
Name:
Anonymous
2008-07-06 22:24
16
Name:
Anonymous
2008-07-06 23:27
>>15
I feel so cool since I understand each one of those jokes.
17
Name:
Anonymous
2008-07-07 8:25
18
Name:
Anonymous
2008-07-07 9:43
>>17
Randall doesn't HASKELL.
19
Name:
Anonymous
2008-07-07 9:51
>>15
Is the Haskell Wiki being trolled?
20
Name:
Anonymous
2008-07-07 10:04
>>19
They are trolling themselves.
21
Name:
Anonymous
2008-07-07 13:45
Would it be possible to write a program that trolled itself in Haskell?
22
Name:
λbot
2008-07-07 15:22
>>21
The answer is: Yes! Haskell can do that.
23
Name:
Anonymous
2008-07-07 15:38
The first thing I do after having read PAIP will be writing a trollbot.
24
Name:
Anonymous
2008-07-07 19:12
if is not superflous
the syntax
is not psosible to add in haskello
25
Name:
Anonymous
2008-07-07 19:15
>>23
why not write a meta-troll bot instead? that'd be a lot more interesting.
26
Name:
Anonymous
2008-07-07 19:31
>>25
Easy to do in Java.
java.net.troll
27
Name:
Anonymous
2008-07-07 19:34
God night, /prog/.
28
Name:
Anonymous
2008-07-07 19:40
29
Name:
Anonymous
2008-07-07 22:26
new Thread(>>27 ).start();
30
Name:
Anonymous
2008-07-07 22:42
31
Name:
Anonymous
2008-07-08 12:48
32
Name:
Anonymous
2008-07-08 16:27
>>29 .wakeup();
>>29 .brushteeth();
>>29 .havebreakfast();
33
Name:
lol
!8mQB/2odm6
2008-07-08 17:51
I have only visited SICP once, is it on efnet?
34
Name:
Anonymous
2008-07-08 20:05
35
Name:
Anonymous
2008-07-08 21:10
LO LO LO LO L
36
Name:
Anonymous
2008-07-09 9:25
37
Name:
Anonymous
2008-07-09 11:53
38
Name:
Anonymous
2008-07-09 12:00
39
Name:
Anonymous
2008-07-09 12:24
>>38
Can you repeat the question?
40
Name:
Anonymous
2008-07-09 12:46
#sicp is on synIRC.
Newer Posts