public abstract static class Value.Maybe extends Value.Option
None
), or present (Just v
).
Also see Inc_Or t0 t1
.Modifier and Type | Class and Description |
---|---|
static class |
Value.Maybe.Just
The Value is present, Just v.
|
Value.Option.GP
Value.Atomic, Value.Bool, Value.Char, Value.Chars, Value.Cts, Value.Defer, Value.Discrete, Value.Enum, Value.Inc_Or, Value.Int, Value.Lambda, Value.List, Value.Maybe, Value.Option, Value.Real, Value.Scannable, Value.Structured, Value.Triv, Value.Tuple
Modifier and Type | Field and Description |
---|---|
static int |
JUST
NONE = 0, JUST = 1.
|
static Value.Maybe |
None
None, where the optional Value is missing, absent, late,...
|
static int |
NONE
NONE = 0, JUST = 1.
|
Constructor and Description |
---|
Maybe() |
Modifier and Type | Method and Description |
---|---|
Type.Option |
type()
Its Type is
Type.MAYBE . |
AoM, elt, elts, frth, fst, nlAoM, print, snd, thrd, toString
public static final int NONE
public static final int JUST
public static final Value.Maybe None
public Type.Option type()
Type.MAYBE
.