Warning: This is the manual of the legacy Guile 2.2 series. You may want to read the manual of the current stable series instead.
Next: SRFI-1 Fold and Map, Previous: SRFI-1 Selectors, Up: SRFI-1 [Contents][Index]
Return the length of the argument list lst. When lst is a
circular list, #f
is returned.
Construct a list by appending all lists in list-of-lists.
concatenate!
may modify the structure of the given lists in
order to produce the result.
concatenate
is the same as (apply append
list-of-lists)
. It exists because some Scheme implementations
have a limit on the number of arguments a function takes, which the
apply
might exceed. In Guile there is no such limit.
Reverse rev-head, append tail to it, and return the
result. This is equivalent to (append (reverse rev-head)
tail)
, but its implementation is more efficient.
(append-reverse '(1 2 3) '(4 5 6)) ⇒ (3 2 1 4 5 6)
append-reverse!
may modify rev-head in order to produce
the result.
Return a list as long as the shortest of the argument lists, where each element is a list. The first list contains the first elements of the argument lists, the second list contains the second elements, and so on.
unzip1
takes a list of lists, and returns a list containing the
first elements of each list, unzip2
returns two lists, the
first containing the first elements of each lists and the second
containing the second elements of each lists, and so on.
Return a count of the number of times pred returns true when called on elements from the given lists.
pred is called with N parameters (pred
elem1 … elemN )
, each element being from the
corresponding list. The first call is with the first element of each
list, the second with the second element from each, and so on.
Counting stops when the end of the shortest list is reached. At least one list must be non-circular.
Next: SRFI-1 Fold and Map, Previous: SRFI-1 Selectors, Up: SRFI-1 [Contents][Index]