https://github.com/jrincayc/ucblogo-code
Tip revision: e21e43605dee2b49f4701fde229cc65c445439b9 authored by Joshua Cogliati on 27 December 2019, 15:07:13 UTC
Merge pull request #19 from jrincayc/pre_release_6_1
Merge pull request #19 from jrincayc/pre_release_6_1
Tip revision: e21e436
firsts
FIRSTS list
outputs a list containing the FIRST of each member of the input
list. It is an error if any member of the input list is empty.
(The input itself may be empty, in which case the output is also
empty.) This could be written as
to firsts :list
output map "first :list
end
but is provided as a primitive in order to speed up the iteration
tools MAP, MAP.SE, and FOREACH.