Returns self
if it is non-null, otherwise returns d
.
Applies self
to the provided function if the predicate is satisfied, otherwise return self.
Applies self
to the provided function if the predicate is satisfied, otherwise return self.
Applies self
to the provided function if the predicate is satisfied, otherwise return self.
Applies self
to the provided function if the predicate is satisfied, otherwise return self.
Repeatedly apply f
, seeded with self
, checking after each iteration whether the predicate p
holds.
Alternative syntax for the Thrush combinator or a total match
.
Alternative syntax for the Thrush combinator or a total match
.
the result of pf(value) if defined, otherwise the Zero element of type B.
If the provided partial function is defined for self
run this,
otherwise lift self
into F
with the provided scalaz.Applicative.
Repeatedly apply f
, seeded with self
, checking before each iteration whether the predicate p
holds.
Applies self
to the provided function.
Applies self
to the provided function. The Thrush combinator.
Applies self
to the provided function.
Applies self
to the provided function. The Thrush combinator.