The refineEither function returns an Either containing a value refined
with either the predicate or the negated predicate depending on whether
the value satisfies the predicate.
This closes #76.
I assume the next version will be 0.6.3 but I wasn't sure so haven't included a @since annotation. Happy to add one if that's the right thing to do.
The refineEither function returns an Either containing a value refined with either the predicate or the negated predicate depending on whether the value satisfies the predicate.
This closes #76.
I assume the next version will be 0.6.3 but I wasn't sure so haven't included a
@since
annotation. Happy to add one if that's the right thing to do.