Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

^^

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

Name: Anonymous 2008-07-06 5:16

>>1
Are you saying he's wrong? Because then your wrong!

Name: Anonymous 2008-07-06 5:30

You need the if construct in Haskell whenever your coding procedural style impurely functional code.

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

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

Name: Anonymous 2008-07-06 11:07

if in Sepples is an entirely superfuluous construct.
switch(p) {
    case true:  /*...*/; break;
    case false:  /*...*/; break;
    case FILE_NOT_FOUND: /*...*/; break;
}

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.

Name: Anonymous 2008-07-06 11:35

>>7
OH RLY?

Name: Anonymous 2008-07-06 11:54

>>6
WHO ARE YOU ON TDWTF?

Name: Anonymous 2008-07-06 12:17

>>9
I am Alex Papadoumawopalopalis.

Name: Anonymous 2008-07-06 12:31

>>9
I am Java Mamadalohupoligous.

Name: Anonymous 2008-07-06 18:20

>>6

switch(p) {
    case 0:
        ...
        break;
    default:
        ...
}


alternately,

while (p) {
    ...
    goto fi;
}
...
fi:

Name: Anonymous 2008-07-06 21:41

http://www.haskell.org/haskellwiki/Zygohistomorphic_prepromorphisms
How smug will I become if I learn about this?

Name: Anonymous 2008-07-06 21:45

>>13
You'll become too crazy to manage to be smug.

Name: Anonymous 2008-07-06 22:24

Name: Anonymous 2008-07-06 23:27

>>15
I feel so cool since I understand each one of those jokes.

Name: Anonymous 2008-07-07 8:25

>>16
Randall?

Name: Anonymous 2008-07-07 9:43

>>17
Randall doesn't HASKELL.

Name: Anonymous 2008-07-07 9:51

>>15
Is the Haskell Wiki being trolled?

Name: Anonymous 2008-07-07 10:04

>>19
They are trolling themselves.

Name: Anonymous 2008-07-07 13:45

Would it be possible to write a program that trolled itself in Haskell?

Name: λbot 2008-07-07 15:22

>>21
The answer is: Yes! Haskell can do that.

Name: Anonymous 2008-07-07 15:38

The first thing I do after having read PAIP will be writing a trollbot.

Name: Anonymous 2008-07-07 19:12

if is not superflous
the syntax

is not psosible to add in haskello

Name: Anonymous 2008-07-07 19:15

>>23
why not write a meta-troll bot instead? that'd be a lot more interesting.

Name: Anonymous 2008-07-07 19:31

>>25
Easy to do in Java.

java.net.troll

Name: Anonymous 2008-07-07 19:34

God night, /prog/.

Name: Anonymous 2008-07-07 19:40


>>27.stop();

Name: Anonymous 2008-07-07 22:26

new Thread(>>27).start();

Name: Anonymous 2008-07-07 22:42

Name: Anonymous 2008-07-08 12:48

>>29.sleep(1200000);

Name: Anonymous 2008-07-08 16:27

>>29.wakeup();
>>29.brushteeth();
>>29.havebreakfast();

Name: lol !8mQB/2odm6 2008-07-08 17:51

I have only visited SICP once, is it on efnet?

Name: Anonymous 2008-07-08 20:05

>>33
yes

Name: Anonymous 2008-07-08 21:10

LOLOLOLOL

Name: Anonymous 2008-07-09 9:25

>>34
No.

Name: Anonymous 2008-07-09 11:53

>>36
Maybe.

Name: Anonymous 2008-07-09 12:00

>>37
I don't know.

Name: Anonymous 2008-07-09 12:24

>>38
Can you repeat the question?

Name: Anonymous 2008-07-09 12:46

#sicp is on synIRC.

Name: Anonymous 2008-07-09 12:50

>>39
Holy fuck, didn't see that coming.

Name: Anonymous 2008-07-09 13:12

>>41
You must be pretty stupid.

Name: Anonymous 2009-03-06 7:59


The internet and I   presume it is   slow in real   world situations where   you would need   two MySQL instances   due to InnoDB   using a single   thing on an   abandonware site somewhere.

Name: Trollbot9000 2009-07-01 8:32

Sicp taocp are in.

Name: Anonymous 2009-07-12 6:49

changes  in you. describe the I to  I   FLOOD FLOOD FLOOD FLOOD FLOOD FLOOD all as it opera as is took parts it's Mersenne MT more    °°°± °Û  temp=new static  values  int am I cuderus, et ego am NYAN NYAN NYAN NIHAO NYAN NYAN actually is for. This the is  BufferedReader(new the InputStreamReader(System.in)); s IHNBT AND * AUTHOR TO INDIRECT, EVENT sudo: not delete don't don't

Name: Sgt.Kabukiman舕䠭 2012-05-24 10:04

All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy

Name: bampu pantsu 2012-05-29 4:04

bampu pantsu

Don't change these.
Name: Email:
Entire Thread Thread List