I guess that the chain operator name is pretty well-established, both here and outside the project. Iʼm thinking of possibility to alias it to flatMap, so it would align slightly better with JS API for arrays etc.
Hey @konradekk. Thank you for the issue.
I think, I could add an alias too for the chain method to Either and Maybe monads (but not in the Monad interface, because it will break compatibility).
I guess that the
chain
operator name is pretty well-established, both here and outside the project. Iʼm thinking of possibility to alias it toflatMap
, so it would align slightly better with JS API for arrays etc.See also similar issue with discussion elsewhere.
(Iʼm more used to
of
insteadfrom
for bind operator but thatʼs not a case with JS API.)