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

Fucking Haskell

Name: Anonymous 2015-07-28 2:24

Why doesn't Haskell excite me as much as Common Lisp did? CL is such a big sweet language with all sorts of cool shit in in. Haskell in comparison seems minimal and I wonder if I'm missing out because I don't understand the magic of types or w/e.

Name: Anonymous 2015-07-28 4:32

>>1
The Prelude is minimal. Part of the point of Haskell is how you can hugely extend the language just by writing a library. If you're using the Haskell Platform distribution and not just the bare-bones GHC+Base, you've got a lot of that to work with, so long as you import it.

Name: Anonymous 2015-07-28 12:17

haskell is shit

Name: Anonymous 2015-07-28 16:09

>>2 that's a nice way to make absence of features into a good thing. As though Cabal wasn't a shitshow and a half.

Name: Anonymous 2015-07-28 18:01

>>2
Just like C.

Name: Anonymous 2015-08-03 15:11

Haskell should be renamed to TypeScript.
Haskell is to type systems what JavaScript is to Java.

Name: Anonymous 2015-08-03 17:40

Anyways, >>1, please listen to me. Not that it's really related to this thread. I went to /prog/ a while ago; you know, world4ch? Well anyways there were an insane number of Haskell programmers in there, and I couldn't post. Then, I googled for the Haskell homepage, and it had "PURELY FUNCTIONAL PROGRAMMING LANGUAGE" written on it. Oh, the stupidity. Those idiots. You don't use a programming language just because it's purely functional, fool. It's only referential transparency, FORCED NO SIDE EFFECTS for crying out loud. There're even companies using it. Company of 400 employees, all downloading some Haskell compiler, huh? How fucking nice. Alright, my manager's gonna use Haskell for the whole project. God I can't bear to watch. You people, I'll give you a damn purely functional language for FREE if you stop fagging up my /prog/. /prog/ should be a bloody place. The tense atmosphere, where two guys on opposite sides of an open discussion can start a fight over VIM vs Emacs at any time, the stab-or-be-stabbed mentality, that's what's great about this place. Haskell fags should screw off and stay home. Anyways, I was about to discuss dynamic typing, and then the bastard beside me goes programming, with Haskell. Who in the world uses Haskell, you moron? I want to ask him, do you REALLY want to use Haskell? I want to interrogate him. I want to interrogate him for roughly an hour. Are you sure you don't just want to try saying Haskell? Coming from a expert programmer such as myself, the latest trend among us vets is this, multi-paradigm languages. That's right, multi-paradigm languages. This is the vet's way of programming. Multi-paradigm languages means more functionality than fappage. But on the other hand the theoretical correctness is a tad lower. This is the key. And then, it's powerful. This is unbeatable. However, if you try this then there is danger that you'll be marked by trolls from next time on; it s a double-edged sword. I can't recommend it to amateurs. What this all really means, though, is that you, >>1, should just stick with today's special.

Name: Anonymous 2015-08-03 18:11

>>7

hahaha great post!

well meme'd, my friend!

Name: Anonymous 2015-08-03 21:21

>>8
Don't you have a reddit to go back to?

Name: Anonymous 2015-08-03 21:55

>>8
Please get AIDS.

Name: Anonymous 2015-08-03 22:11

>>9
Don't you have a nigger dick to suck?

Name: Anonymous 2015-08-03 22:27

>>11
Don't you have dubs I should check?

Name: Anonymous 2015-08-04 11:33

HASKELL NOMADS

Name: Anonymous 2015-08-04 18:45

>>7
vets
Veterinarians?

Name: Anonymous 2015-08-05 18:15

https://en.wikibooks.org/wiki/Haskell/GADT#Safe_Lists
This is what Haskellers actually believe

Name: Anonymous 2015-08-05 23:27

>>15
At least they tried.

Name: Anonymous 2015-08-06 9:02

Haskell is not minimal by any degree.

𝓗𝓪𝓼𝓴𝓮𝓵𝓵 𝓻𝓮𝓹𝓻𝓮𝓼𝓮𝓷𝓽𝓼 𝓽𝓱𝓮 𝓬𝓸𝓶𝓹𝓵𝓮𝓽𝓮𝓶𝓸𝓼𝓽 𝓮𝔁𝓪𝓶𝓹𝓵𝓮 𝓸𝓯 𝓾𝓷𝓻𝓮𝓼𝓽𝓻𝓪𝓲𝓷𝓮𝓭
𝓪𝓮𝓼𝓽𝓱𝓮𝓽𝓲𝓬𝓲𝓼𝓶 𝓪𝓷𝓭 𝓯𝓵𝓪𝓶𝓫𝓸𝔂𝓪𝓷𝓽 𝓱𝓸𝓶𝓸𝓼𝓮𝔁𝓾𝓪𝓵𝓲𝓽𝔂 𝓲𝓷 𝓽𝓱𝓮 𝓪𝓻𝓮𝓪 𝓸𝓯 𝓹𝓻𝓸𝓰𝓻𝓪𝓶𝓶𝓲𝓷𝓰
𝓵𝓪𝓷𝓰𝓾𝓪𝓰𝓮 𝓻𝓮𝓼𝓮𝓪𝓻𝓬𝓱, 𝓐𝓹𝓸𝓵𝓵𝓸𝓷𝓲𝓪𝓷 𝓫𝓮𝓪𝓾𝓽𝔂 𝓽𝓪𝓴𝓮𝓷 𝓽𝓸 𝓽𝓱𝓮 𝓪𝓫𝓼𝓸𝓵𝓾𝓽𝓮, 𝓪 𝓹𝓮𝓻𝓯𝓮𝓬𝓽
𝓬𝓸𝓶𝓹𝓸𝓼𝓲𝓽𝓲𝓸𝓷 𝓸𝓯 𝓻𝓮𝓰𝓾𝓵𝓪𝓻, 𝓬𝓵𝓮𝓪𝓷, 𝔀𝓮𝓵𝓵-𝓭𝓮𝓯𝓲𝓷𝓮𝓭 𝓼𝔂𝓷𝓽𝓪𝔁 𝔀𝓲𝓽𝓱 𝓳𝓾𝓼𝓽 𝓮𝓷𝓸𝓾𝓰𝓱
𝓽𝓪𝓼𝓽𝓮𝓯𝓾𝓵𝓵𝔂 𝓲𝓷𝓽𝓻𝓸𝓭𝓾𝓬𝓮𝓭 𝓹𝓮𝓬𝓾𝓵𝓲𝓪𝓻𝓲𝓽𝓲𝓮𝓼 𝓽𝓸 𝓶𝓪𝓴𝓮 𝓲𝓽 𝓮𝔁𝓹𝓻𝓮𝓼𝓼 𝓪𝓷𝓭 𝓭𝓮𝓯𝓲𝓷𝓮
𝓽𝓱𝓮 𝓻𝓮𝓵𝓪𝓽𝓲𝓸𝓷𝓼𝓱𝓲𝓹 𝓫𝓮𝓽𝔀𝓮𝓮𝓷 𝓖𝓸𝓭 𝓪𝓷𝓭 𝓜𝓪𝓷.

𝓘𝓽 𝓲𝓼 𝓪 𝔀𝓸𝓻𝓴 𝓸𝓯 𝓯𝓲𝓷𝓮𝓼𝓽 𝓪𝓻𝓽, 𝓼𝓽𝓪𝓻𝓽𝓮𝓭 𝓫𝔂 𝓭𝓲𝓿𝓲𝓷𝓮 𝓼𝓹𝓪𝓻𝓴 𝓪𝓷𝓭 𝓬𝓪𝓻𝓻𝓲𝓮𝓭 𝓸𝓾𝓽
𝓫𝔂 𝓽𝓮𝓷𝓭𝓮𝓻 𝓪𝓷𝓭 𝓼𝓮𝓷𝓼𝓲𝓽𝓲𝓿𝓮 𝓱𝓪𝓷𝓭𝓼 𝓸𝓯 𝓽𝓱𝓮 𝓼𝓬𝓾𝓵𝓹𝓽𝓸𝓻.

Name: Anonymous 2015-08-06 15:02

>>15
Encoding length in the list type doesn't require much more work and is significantly more expressive.

Name: Anonymous 2015-08-07 8:25

>>18
But that can not be type-checked.

Name: Anonymous 2015-08-07 9:37

>>19
So what? Take your category theory and shove it up your virgin dick hole.

Name: Anonymous 2015-08-07 12:45

>>18
trying to shoehorn this crap into a language without dependent types is disgusting

trying to get any work done with deptypes is near impossible

Name: Anonymous 2015-08-07 12:54

U MENA DUBS?

Name: Anonymous 2015-08-07 13:54

>>19
It is possible to write the type using GADTs and DataKinds, but some functions (e.g. filter) can't be typed as easily as in a language with fully-dependent types.

Name: Anonymous 2015-08-07 14:28

>>23
The length is going to be encoded with zero and succ or an Int?

Name: Anonymous 2015-08-07 14:53

>>23
you can write filter : (P -> bool) -> list P -> list P just fine
you can also write a strongly specified version which explains that each element of the output list satisfies predicate, it's not any harder

Name: Anonymous 2015-08-07 15:43

>>24
I think that you can use Int directly with the latest GHC. Previous versions of GHC (7.6 and 7.8) don't support type-level arithmetic very well, so you'd use Peano naturals and TypeFamilies to roll your own type-level arithmetic in that case.

>>25
Isn't the problem is that the length of the filtered list isn't known at compile-time? Haskell doesn't have dependent pairs, so you can't write `filter :: (a -> Bool) -> List n a -> (m ** List m a)'.

Name: Anonymous 2015-08-07 15:56

peano naturals are not good for encoding the length of a list, as they are themselves lists of length n (zero = nil, succ = cons).

Not every problem can be solved by the type system. That's equivalent to the halting problem, for certain problems. We're just improving compilers by improving the type system, that's all.

Name: Anonymous 2015-08-07 16:40

>>27
Here's where lisp macros come into play:
Matching against foo list 123 can expand to foo list succ(succ(...(succ(zero)...)).
Of course, a functional lisp with types does not exist.
I don't know if Shen counts as a functional lisp with types. I have just tried to use it but I have failed to define the simplest function: (foo x -> x). It seems awkward that all functions need this format. It's even more awkward that it can not infer the most general type like Haskell does.

Name: Anonymous 2015-08-08 2:43

In the time it's taking you guys to figure out your shitty type system I could have written a Lisp machine.

Name: Anonymous 2015-08-08 11:50

>>29
A useless Lithp machine, you mean. Nobody cares about your half-assed interpreters.

Name: Anonymous 2015-08-09 4:18

"Fucking Haskell" is difficult. I have yet to find a physically fuckable orifice in a noncorporeal thing such as a programming language.

Name: Anonymous 2015-08-09 4:18

>>30
No, a hardware LispM. From transistors.

Name: Anonymous 2015-08-09 5:28

>>31
Stop trying, that's prevented by design. Haskell is supposed to be pure.

Name: Anonymous 2015-08-09 6:18

If I Haskell for the rest of my life will I be greeted in heaven by 71 pure Haskell virgins?

Name: Anonymous 2015-08-09 16:54

>>34
Yes, but you can only look at them, not touch because that would alter their state and would thus be unsafe.

Name: Anonymous 2015-08-09 17:16

Sometimes when I get really lonely I tell my Haskell to count to an infinite number and then when my laptop gets hot I place it on my lap. If I close my eyes and try real hard, it almost feels like there's a girl sitting on my lap.

Name: Anonymous 2015-08-09 17:38

>>36
Albeit a lazy one.

Name: Anonymous 2015-08-09 17:59

>>34
you will, but they're not the kind of virgin you're thinking of

Name: Anonymous 2015-08-09 18:39

>>38
I thoroughly loled

Name: Anonymous 2015-08-13 11:20

Show me on this doll where the monad mutated your state...

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