Remix.run Logo
12_throw_away a day ago

"Functors" "Monads" "Typeclasses" <- concepts dreamed up by the utterly deranged

uncircle a day ago | parent | next [-]

This is in reference to a meme (https://knowyourmeme.com/memes/stop-doing-math) and made relevant by the first paragraph of the post.

> Have you ever seen a Number grazing in the fields? Or a Functor chirping in the trees? No? That’s because they’re LIES. LIES told by the bourgeoisie to keep common folk down.

jerf a day ago | parent [-]

Grumbling about how typeclasses could just be normal datatypes has been an undercurrent in the Haskell world for a long time, particularly as a way to solve the orphan instances problem. However, the syntactic grease provided by typeclasses is pretty appealing, and in the end I think this may have died down because people developed engineering solutions to the orphan instances problem (mostly "don't") that mitigated the theoretical problems enough that even most Haskellers don't care anymore... but I guess a few do still somewhat, because such things never truly go away.

(And yes, I recognize the quoted sentence as being humorous and labeling the entire article as not entirely serious... my point is that it is not entirely unserious either. The idea has been kicking around seriously for a while.)

steve_gh a day ago | parent | prev | next [-]

There is a really interesting interview with Simon Peyton-Jones referenced on HN yesterday.He talks a lot about why Haskell came about, and some of the thinking behind the design choices that were made.

https://news.ycombinator.com/item?id=45242530

asplake a day ago | parent [-]

That was great, thank you

skrebbel a day ago | parent | prev | next [-]

It's okay not to know things

DaiPlusPlus a day ago | parent | prev | next [-]

"Hello I would like x<-[1,2..] apples please"

pyrale a day ago | parent [-]

And I'll take 3 of those.

professor_v a day ago | parent | prev [-]

"A monad is just a monoid in the category of endofunctors"

whateveracct a day ago | parent | next [-]

what's the problem?

esafak a day ago | parent | prev | next [-]

flatMap that s**!

mindcrime a day ago | parent | prev | next [-]

"You just made those words up right now".

dist-epoch a day ago | parent | prev [-]

I heard it's just like a burrito.

williamcotton a day ago | parent | next [-]

A Burrito is a Monad:

https://williamcotton.com/articles/a-burrito-is-a-monad

WJW a day ago | parent | prev [-]

Burrito's compose surprisingly well.

uncircle a day ago | parent [-]

Unlike your 's

WJW a day ago | parent [-]

Fair point's's, I'll use my standard excuse of not being a native speaker. :)

bmacho a day ago | parent [-]

I bet reading native speakers confused you.