https://github.com/jrincayc/ucblogo-code
Tip revision: 83745353d7eee8adb51f3b171c6732b1960a8fb7 authored by Joshua Cogliati on 28 December 2020, 18:53:34 UTC
If WX_CONFIG_CHECK missing, disable WX. (#84)
If WX_CONFIG_CHECK missing, disable WX. (#84)
Tip revision: 8374535
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.