Closed danicheg closed 5 months ago
Hey @benhutchison, no hurry at all, just mentioning you to make this PR more visible for review. Thanks!
Alright. Changes are isolated, and it's merely four auxiliary methods affecting a few syntaxes. So, I'm merging this and will wait a week before releasing it to see if anyone expresses interest in propagating any related changes.
Apologies for missing this @danicheg 🙏
I need to de-noise my inbox so I don't miss these.
@benhutchison No worries, you owe nothing! It's FOSS.
These are counterpart methods to newly shipped
Functor#mapOrKeep
andMonad#flatMapOrKeep
methods in Cats. From my tastes,mapOrKeepIn
might be highly useful whileflatMapOrKeepIn
is not as much as the former. But I still decided to add it too and have complete conformity with Cats.