Returns a Value containing the result of appling pf
to
this Cell's value if it is available and meaningful and
pf
is defined for that value.
Returns true if this Cell's value is available and
meaningful and the predicate p
returns true when applied
to that value.
Returns this Cell unless it contains a value that is
available and meaningful and applying the predicate p
to
that value returns false, then return NA.
Returns this Cell unless it contains a value that is
available and meaningful and applying the predicate p
to
that value returns true, then return NA.
Returns the result of applying f
to this Cell's value if
it is available and meaningful.
Flatten a nested Cell with type Cell[Cell[B]]
into Cell[B]
.
Returns the result of applying f
to this Cell's value.
Returns the result of applying f
to this Cell's value.
Otherwise, evaluates expression na
if a value is not
available, or evaluates expression nm
if the value is
not meaningful.
the expression to evaluate if no value is available.
the expression to evaluate if the value in not meaningful.
the function to apply to a value that is available and meaningful.
Returns true if this Cell's value is unavailable (NA)
or the predicate p
returns true when applied to this
Cell's meaningful value.
Apply the the given procedure f
to the Cell's value if it
is available and meaningful.
Returns the Cell's value if it is available and meaningful,
otherwise returns the result of evaluating expression default
.
Returns true if this Cell is not a value that is available and meaningful.
Returns true if this Cell is a value that is available and meaningful.
Returns a Value containing the result of applying f
to
this Cell's value if it is available and meaningful.
Returns this Cell if its value is available and meaningful,
otherwise return the result of evaluating alternative
.
If this cell is a NonValue and pf
is defined for it, then this
will return Value(pf(this))
, otherwise it will return this cell as-is.
If this cell is a NonValue and pf
is defined for it, then this
will return pf(this)
, otherwise it will return this cell as-is.
Returns a singleton list containing the Cell's value, or the empty list if the Cell's value is unavailable or not meaningful.
Project this Cell to an Option
Project this Cell to an Option
If both this
and that
are values, then this returns a value derived
by applying f
to the values of them.
If both this
and that
are values, then this returns a value derived
by applying f
to the values of them. Otherwise, if either this
or
that
is NA
, then NA
is returned, otherwise NM
is returned.
The supertype of non values, NA (Not Available) and NM (Not Meaningful)
Cell NA NM