Fermat
Search
K
Comment on page

Map

You can apply a function to each element of a structure.
map [structure] with ([ID]):
[block]
end
Here, you can find an example with a list:
map [1,2,3,4] with (x):
x + 1
end
Output:
> [2,3,4,5]