sampo.schemas.apply_queue#
Overview#
Class represents the function apply sequence |
Classes#
- class sampo.schemas.apply_queue.ApplyQueue#
Class represents the function apply sequence
- add(function, args: tuple) ApplyQueue#
Adds function and args to queue. args should be (first arg, second arg, …). The zero arg applied to f is the result of previous function in the queue.
- apply(first_args)#
Sequentially applies functions to the result of previous function and the args stored in queue.
- empty() bool#