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

Why is Haskell so spergy?

Name: Anonymous 2013-08-25 14:06


// muh ad-hoc polymorphism in C++
struct Person { string name; }
struct Animal { string name; }

string name(const Person& p) { return p.name; }
string name(const Animal& a) { return a.name; }

// muh ad-hoc polymorphism in Haskell (spergy)
data Person = Person { personName :: String }
data Animal = Animal { animalName :: String }

class HasName a where
    name :: a -> String

instance HasName Person where
    name = personName

instance HasName Animal where
    name = petName

Name: Anonymous 2013-08-25 14:13

>>1
//muh
>>>/v/

Name: Anonymous 2013-08-25 14:24

>>2
You too go the fuck back to the imageboards.

Name: Anonymous 2013-08-25 14:32

>>3
Haven't been there for quite some time. Remember to tell them I said hi next time you go.

Name: Anonymous 2013-08-25 14:51

>>4
Because using >>>/board/ is absolutely textboard only, and only textboard users use board redirections.

Fuck off.

Name: Anonymous 2013-08-25 14:55

>>2
>>3
>>4
>>5

manchildren detected

Name: Anonymous 2013-08-25 14:56

>>1
http://research.microsoft.com/en-us/um/people/simonpj/Haskell/records.html
You want polymorphic extensible records.
name :: (r <: { name :: String }) => r -> String
name {name, ..} = name

Name: Anonymous 2013-08-25 14:58

>>5
>mfw you get so angry you confuse the board types ( ͡º ͜ʖ ͡º)

Name: Anonymous 2013-08-25 15:00

>>6
Please optimize your quotations{i !}

Name: Anonymous 2013-08-25 15:03

>>9
Sorry, I meant <em>!</em>

Name: Anonymous 2013-08-25 15:05

>>1

Because it is formal. C++ gives you freedom. Haskell gives you bondage and discipline. I like the latter more than the first, just the way I like my girlfriends. Ah, I once had with this cop girl, our relationship was all about power. She was a demon. That was the moment I learned, what you can do with a taser.

Name: Anonymous 2013-08-25 15:50

>>10
Gosh darn it, I mean <span class="italic">!</span>

Name: Anonymous 2013-08-25 16:21

>>12
You obviously meant **!**, /g/ro!.

Just so you know, this textboard adopts many customs from Reddit, including markdown and some memes. Welcome to proggit ;)

Name: Anonymous 2013-08-25 16:39

>>13
トップ·レル
俺のサイドヅ

Name: Anonymous 2013-08-25 17:45

// muh
No thank you.

Name: Peyton `Simon` Jones 2013-08-25 17:46

I am not surprised that an incompetent child from the imageboards would not understand the marvels of Haskell.

Name: Anonymous 2013-08-25 18:16

Haskell is shit.
Prove me wrong.                             `
>protip: you can't

Name: Anonymous 2013-08-25 18:18

>>17
I was reading your post, but then I saw your epic green meme. I laughed so hard, my sides detached from their original positions. I think my sides are now on Reddit, probably on /r/funny.

Thank you so much for your contribution, it's truly the finest kind of humor I've seen in a while.

Name: Anonymous 2013-08-25 19:08

Planned dates suck. There will be just the two of you and it will be creepy as fuck. She will only see a guy who wants to fuck her, but doesn't know how to get it. She will do nothing to help you, she'll just be bored and treat you like a nice guy, laugh politely at your embarrassingly dumb attempts at humor.

Your only way out is to find a party, propose to sneak there, get drunk, get her drunk and have sex in a room upstairs. Forget stories about grown up or polite sex. There's no such thing. No pity sex either. And there's no second date or second chance. And no fucking densha otoko, not in this part of the world!

Name: Anonymous 2013-08-25 19:24

>>19
Wrong thread, asshole.

Name: Anonymous 2013-08-25 19:37

>>20
Yes, I did notice. But thanks for pointing it out anyway, faggot.

Name: Anonymous 2013-08-25 20:10

>>21
Did you notice my dubs?

Name: Anonymous 2013-08-25 20:53

>>22
Why, yes I did!

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