People who have trouble understanding monads usually don't have any problem with callbacks. Because the computational context "some as usual, except in the near future" is familiar to them.
-
Show this thread
-
The monad tutorial fallacy is the claim that it is impossible to convey the meaning of "computational context" except via giving the monad axioms, or via studying the usual examples.
1 reply 0 retweets 4 likesShow this thread -
But grokking the classical examples involves the extra labor understanding that unusual computational contexts still can be simulated using pure functions.
1 reply 0 retweets 3 likesShow this thread -
Because Continuation is the Mother of all Monads, it is better to start with that, and abstract from there, instead of using List.
1 reply 0 retweets 2 likesShow this thread -
Replying to @ValueOfType
The List is kind of a shitty monad tbh. Like, if you already understand (linked) List in the non-functional context, then all this "monadic structure" shit is gonna fly right over your head b/c you can rely on understanding List.
1 reply 0 retweets 0 likes
I don't agree. Flatmapping lists is good.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.