public static interface Operators.Cons<X,S>
X and
state type S.| Modifier and Type | Method and Description |
|---|---|
S |
consume(X x,
S state)
Compute a post-state from an input element and a pre-state.
|
S consume(X x, S state)
f.consume(x, s) for a given fixed function object
f, input element x and state
s should not vary unless the observable state of
x or s varies.x - an input element.state - a pre-state.see also the complete user documentation .