> The method names are more intuitive: e.g., then instead of map
But map makes total sense, considering that maybe is a monad.
But map makes total sense, considering that maybe is a monad.
map :: (a -> b) -> Maybe a -> Maybe b
then :: (a -> Maybe b) -> Maybe a -> Maybe b
Although for Maybe these are not too different.(Of course, all monads are also functors.)
which is a good opportunity to introduce said nomenclature, and ideas to them, rather than renaming said method to something more "palatable".
EDIT: I would even argue, as a fan of FP, that it's not immediately obvious how this terminology or concept even helps, from the point of view of a non purely functional programming language