Dynamic.List
find
dynamic
Dynamic
(find l pred)
finds the first element in the list l
that matches pred
.
Returns nil
on failure
find-index
dynamic
Dynamic
(find-index l pred)
like `find, but returns the index instead.
Returns nil
on failure
pairs
dynamic
Dynamic
(pairs l)
makes a list of pairs out of a list l
. If the number of
elements is uneven, the trailing element will be discarded.
update-nth
dynamic
Dynamic
(update-nth l n f)
updates the nth element of the list l
using the function f
.