stojan
09/19/2020, 9:33 AMOption
there.
At first I made arrow-option
depend on arrow-core-data
(Option
need Show
, Predicate
, Either
and a few other utilities from core-data).
However arrow-core-data also needs Option
. MonadLogic
, Monoidal
, Semigroup
, Travers
etc... use it internally or in a public API.
Since Option
was marked for deprecation, I assume removing the Option
usages from arrow-core-data is the way to go, right?Semigroup
uses Option
internally, this can be replaced with nullable types without altering the public APIFunctorFilter
uses Option
as part of the public API....
fun <A, B> Kind<F, A>.filterMap(f: (A) -> Option<B>): Kind<F, B>
do I also replace this with nullable types? (that would change the public API without deprecation cycle)raulraja
09/19/2020, 7:45 PM