swh:1:snp:7c21d1ef6b1a940ffbcf193284a7f8d0c51062e7
Raw File
Tip revision: 21ce9707d32d35f71bcba10c45742e8214881ea8 authored by Barak A. Pearlmutter on 13 January 2022, 14:54:59 UTC
update-alternatives instead of mere links for /usr/bin/logo
Tip revision: 21ce970
butfirsts
BUTFIRSTS list
BFS list

	outputs a list containing the BUTFIRST of each member of the input
	list.  It is an error if any member of the input list is empty or an
	array.  (The input itself may be empty, in which case the output is
	also empty.)  This could be written as

		to butfirsts :list
		output map "butfirst :list
		end

	but is provided as a primitive in order to speed up the iteration
	tools MAP, MAP.SE, and FOREACH.

back to top