Reduce elements of the list with a function
1 |
f |
(ac,it) -> ac, a function from an accumulating value and a current item to the next value |
init |
an initial value - otherwise lst[[1]] is used |
lst |
a list of items |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.