Returns the value of this Bind
, or the default
value for a Trap
.
Returns the value of this Bind
, or the default
value for a Trap
.
Returns the value of this Bind
, or the default
value for a Trap
.
Returns the binding of a function applied to the value of this Bind
,
otherwise returns this Trap
.
Returns the binding of a function applied to the value of this Bind
,
otherwise returns this Trap
.
Returns the binding of a function applied to the value of this Bind
,
otherwise returns this Trap
.
Selects fused combinators that trap exceptions with the given handler.
Selects fused combinators that trap exceptions with the given handler.
Selects fused combinators that trap exceptions with the given handler.
Synonym for bindOrElse
.
Synonym for bindOrElse
.
Returns true
if this is the false
value of the Truth
, otherwise returns false
.
Returns true
if this is the false
value of the Truth
, otherwise returns false
.
Returns true
if this is the true
value of the Truth
, otherwise returns false
.
Returns true
if this is the true
value of the Truth
, otherwise returns false
.
Returns this Bind
, or the other
binding for a Trap
.
Returns this Bind
, or the other
binding for a Trap
.
Returns this Bind
, or the other
binding for a Trap
.
Returns the value of this Bind
, or null
for a Trap
.
Returns the value of this Bind
, or null
for a Trap
.
Returns the value of this Bind
, or null
for a Trap
.
Binds the result of a function applied to the value of this Trap
,
if defined, otherwise returns this.
Binds the result of a function applied to the value of this Trap
,
if defined, otherwise returns this.
Binds the result of a function applied to the value of this Trap
,
if defined, otherwise returns this.
Returns the binding of a function applied to the value of this Trap
,
if defined, otherwise returns this.
Returns the binding of a function applied to the value of this Trap
,
if defined, otherwise returns this.
Returns the binding of a function applied to the value of this Trap
,
if defined, otherwise returns this.
(else: GeneralTraverserOps[A]).count(p)
(else: GeneralContainerOps[A]).count(p)
(else: GeneralCollectionOps[A]).count(p)
(else: StrictTraverserOps[A, Traverser[_]]).drop(lower)(builder)
(else: StrictContainerOps[A, Container[_]]).drop(lower)(builder)
(else: StrictCollectionOps[A, Collection[_]]).drop(lower)(builder)
(else: StrictTraverserOps[A, Traverser[_]]).dropWhile(p)(builder)
(else: StrictContainerOps[A, Container[_]]).dropWhile(p)(builder)
(else: StrictCollectionOps[A, Collection[_]]).dropWhile(p)(builder)
(else: GeneralTraverserOps[A]).eagerly
(else: GeneralContainerOps[A]).eagerly
(else: GeneralCollectionOps[A]).eagerly
Returns true
if the value of this Bind
satisfies the predicate,
otherwise returns false
.
Returns true
if the value of this Bind
satisfies the predicate,
otherwise returns false
.
(else: ElseOps[A, B]).exists(p)
(else: GeneralTraverserOps[A]).exists(p)
(else: GeneralContainerOps[A]).exists(p)
(else: GeneralCollectionOps[A]).exists(p)
Returns true
if the value of this Bind
satisfies the predicate,
otherwise returns false
.
Returns true
if the value of this Bind
satisfies the predicate,
otherwise returns false
.
(else: ElseOps[A, Nothing]).exists(p)
Returns this Bind
if its value satisfies the predicate,
returns the unit Trap
if its value does not satisfy the predicate,
otherwise returns this Trap
.
Returns this Bind
if its value satisfies the predicate,
returns the unit Trap
if its value does not satisfy the predicate,
otherwise returns this Trap
.
(else: ElseOps[A, B]).filter(p)
(else: StrictTraverserOps[A, Traverser[_]]).filter(p)(builder)
(else: StrictContainerOps[A, Container[_]]).filter(p)(builder)
(else: StrictCollectionOps[A, Collection[_]]).filter(p)(builder)
Returns this Bind
if its value satisfies the predicate,
returns the unit Trap
if its value does not satisfy the predicate,
otherwise returns this Trap
.
Returns this Bind
if its value satisfies the predicate,
returns the unit Trap
if its value does not satisfy the predicate,
otherwise returns this Trap
.
(else: ElseOps[A, Nothing]).filter(p)
(else: GeneralTraverserOps[A]).find(p)
(else: GeneralContainerOps[A]).find(p)
(else: GeneralCollectionOps[A]).find(p)
Apllies a function to the value of this Bind
, or returns the zero
value for a Trap
; equivalent to map f bindOrElse z
.
Apllies a function to the value of this Bind
, or returns the zero
value for a Trap
; equivalent to map f bindOrElse z
.
(else: ElseOps[A, B]).fold(z)(f)
Apllies a function to the value of this Bind
, or returns the zero
value for a Trap
; equivalent to map f bindOrElse z
.
Apllies a function to the value of this Bind
, or returns the zero
value for a Trap
; equivalent to map f bindOrElse z
.
(else: ElseOps[A, Nothing]).fold(z)(f)
(else: GeneralTraverserOps[A]).forall(p)
(else: GeneralContainerOps[A]).forall(p)
(else: GeneralCollectionOps[A]).forall(p)
Applies a function to the value of this Bind
, otherwise does nothing.
Applies a function to the value of this Bind
, otherwise does nothing.
(else: ElseOps[A, B]).foreach(f)
Applies a function to the value of this Bind
, otherwise does nothing.
Applies a function to the value of this Bind
, otherwise does nothing.
(else: ElseOps[A, Nothing]).foreach(f)
Selects fused combinators that trap non-fatal exceptions.
Selects fused combinators that trap non-fatal exceptions.
(else: ElseOps[A, B]).fuse(isTry)
Selects fused combinators that trap non-fatal exceptions.
Selects fused combinators that trap non-fatal exceptions.
(else: ElseOps[A, Nothing]).fuse(isTry)
(else: GeneralTraverserOps[A]).lazily
(else: GeneralContainerOps[A]).lazily
(else: GeneralCollectionOps[A]).lazily
Binds the result of a function applied to the value of this Bind
,
otherwise returns this Trap
.
Binds the result of a function applied to the value of this Bind
,
otherwise returns this Trap
.
(else: ElseOps[A, B]).map(f)
Binds the result of a function applied to the value of this Bind
,
otherwise returns this Trap
.
Binds the result of a function applied to the value of this Bind
,
otherwise returns this Trap
.
(else: ElseOps[A, Nothing]).map(f)
(else: StrictTraverserOps[A, Traverser[_]]).slice(lower, upper)(builder)
(else: StrictContainerOps[A, Container[_]]).slice(lower, upper)(builder)
(else: StrictCollectionOps[A, Collection[_]]).slice(lower, upper)(builder)
(else: StrictTraverserOps[A, Traverser[_]]).span(p)(builder1, builder2)
(else: StrictContainerOps[A, Container[_]]).span(p)(builder1, builder2)
(else: StrictCollectionOps[A, Collection[_]]).span(p)(builder1, builder2)
(else: StrictTraverserOps[A, Traverser[_]]).take(upper)(builder)
(else: StrictContainerOps[A, Container[_]]).take(upper)(builder)
(else: StrictCollectionOps[A, Collection[_]]).take(upper)(builder)
(else: StrictTraverserOps[A, Traverser[_]]).takeWhile(p)(builder)
(else: StrictContainerOps[A, Container[_]]).takeWhile(p)(builder)
(else: StrictCollectionOps[A, Collection[_]]).takeWhile(p)(builder)
Returns this Bind
if its value satisfies the predicate,
returns the unit Trap
if its value does not satisfy the predicate,
otherwise returns this Trap
; equivalent to filter
.
Returns this Bind
if its value satisfies the predicate,
returns the unit Trap
if its value does not satisfy the predicate,
otherwise returns this Trap
; equivalent to filter
.
(else: ElseOps[A, B]).withFilter(p)
(else: StrictTraverserOps[A, Traverser[_]]).withFilter(p)
(else: StrictContainerOps[A, Container[_]]).withFilter(p)
(else: StrictCollectionOps[A, Collection[_]]).withFilter(p)
Returns this Bind
if its value satisfies the predicate,
returns the unit Trap
if its value does not satisfy the predicate,
otherwise returns this Trap
; equivalent to filter
.
Returns this Bind
if its value satisfies the predicate,
returns the unit Trap
if its value does not satisfy the predicate,
otherwise returns this Trap
; equivalent to filter
.
(else: ElseOps[A, Nothing]).withFilter(p)