public static class Value.Maybe.Just extends Value.Maybe
Value.Maybe.Just
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 |
---|---|
Value |
v
The Value, v, in Just v is present.
|
JUST, None, NONE
Modifier and Type | Method and Description |
---|---|
Value |
elt(int n)
The i-th element (component, field) of 'this'
Structured Value, counting from zero.
|
int |
n()
Return this Option Value's number within its
Option
Type . |
int |
nElts()
Return this Option's number of elements (fields).
|
type
closes, compareTo, opens, separator
AoM, elts, frth, fst, nlAoM, print, snd, thrd, toString
public final Value v
public Just(Value v)
public int n()
Value.Option
Type
.n
in class Value.Option
public int nElts()
Value.Option
nElts
in class Value.Option
public Value elt(int n)
Value.Structured
elt
in class Value.Structured