Description Usage Arguments Value Examples
Create an (infinite) sequence
1 | create_sequence(head_value, generator)
|
head_value |
the value of the first element |
generator |
a function that takes the current head and produces a new item |
A lazy sequence of items
1 | natural_numbers <- create_sequence(0, function(x) x + 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.