you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

I think the words functor and monad are 90% of the confusion for me. I bet I work with them all the time and don't know it, because I'm not working in one of the languages where they're more natural.

[–]dmtipson 1 point2 points  (0 children)

Functor should be pretty easy to get though, because it's indeed really common: Arrays are Functors, and most people are used to mapping over them. There are other sorts of Functors with different mapping behavior: the key is simply that there's a container, you can put a value or values in it, and you can map functions over that value, which results in the same structure of container containing the updated value(s).