You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've seen this in some other libs and it seems like a good idea. The idea would be to have a method like Maybe.filter that would take a callable predicate and would return Nothing in the Nothing case and for the Just case would return the same Just value if the predicate returned true and Nothing if the predicate returns false.
The text was updated successfully, but these errors were encountered:
I've seen this in some other libs and it seems like a good idea. The idea would be to have a method like
Maybe.filter
that would take acallable
predicate and would returnNothing
in theNothing
case and for theJust
case would return the sameJust
value if the predicate returned true andNothing
if the predicate returns false.The text was updated successfully, but these errors were encountered: