/usr/lib/help/collect is in scheme9 2013.11.26-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 | S9 LIB (collect procedure list) ==> list
Collect elements from LIST as long as two subsequent elements
E1 and E2 satisfy the predicate (PROCEDURE E1 E2). When two
subsequent elements do not satisfy the predicate, start a new
output list. Concatenate all output lists in the result.
(collect eq? '(a a a b c c)) ==> ((a a a) (b) (c c))
(collect < '(1 2 3 3 4 5 4)) ==> ((1 2 3) (3 4 5) (4))
|