namespace Popcorn
{
result: value,
state : state_obj
}
'result' is the evaluation result of the generator. any combinator(any r, any n)
r
- the combined result from previous executions
or the initial value on first call.n
- the result of the current generator execution. any generator(any input)
{
result: value,
state : state_obj
}
'result' is the evaluation result of the generator.
A state object is passed to the generation process
and can be manipulated by any generator. See
Popcorn.Core.generate for details.
Popcorn provides functions to create
and combine generators to build any kind of data.
See README for more information.
input
- any variable, object, etc.