Description Usage Arguments Details Examples
consume is a special version of take, with additional controls
to help the user. It produces the same output and warns the user (through
guess) if the number of iterations taken is insufficient to reach the limit.
1 | consume(.generator, .guess, .simplify)
|
.generator |
A function with the class |
.guess |
An approximate number of steps until the limit |
.simplify |
If |
It needs to be preceded by a limit to a generator.
The function checks whether a generator is limited, but other errors are
possible if the limit occurs earlier in the chain of wrappers.
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.