News for hackers. Stuff that matters.
Re:Functor, Applicative, and Monad by nacc on Wednesday September 18, 2019 @04:17AM (#21003296)
Being someone who is still struggling with these concepts, I like this tutorial because at least it doesn't use the common list/maybe/state to illustrate the concepts. Somehow I feel these concepts are so abstract - unless one is well versed in category theory, maybe only a data approach can prevent people from overfitting these concepts to specific examples.

I would really hope to see a tutorial that have a diverse set of examples and just fmap each example with a light explanation of say, what is a monad in this code and what is not, and because it's a monad we can do this.

Essentially the tutorial can just train a classifier in one's head, and with a nice set of examples maybe the brain can learn a general representation of concepts for the classifier ...

Re:Functor, Applicative, and Monad by mjlangiii on Wednesday September 18, 2019 @04:37AM (#21003376)
In this series functional concepts are very gently introduced. I feel like it really appreciates the beginners starting point and assumes very little. Is this close to what you want?

https://egghead.io/lessons/javascript-linear-data-flow-with-...

Re:Functor, Applicative, and Monad by weavie on Wednesday September 18, 2019 @04:31AM (#21003349)
I started writing this the other day - https://codersteve.dev/post/refactoring-to-monads/

It's just a start, but maybe it could help.