Closed ferranpujolcamins closed 3 years ago
Provide a default implementation of flatMap based on tailRecM.
flatMap
tailRecM
Useful when you want a fully stack safe monad, or when you don't want to specialize the implementation of flatMap.
Can this be merged?
Goal
Provide a default implementation of
flatMap
based ontailRecM
.Useful when you want a fully stack safe monad, or when you don't want to specialize the implementation of flatMap.