List-processing à la SRFI-1


[Up] [Top]

Documentation for package ‘lisp’ version 0.1

Help Pages

caar Composite 'car'/'cdr'
cadar Composite 'car'/'cdr'
caddr Composite 'car'/'cdr'
cadr Composite 'car'/'cdr'
car First element of a list
cdddr Composite 'car'/'cdr'
cddr Composite 'car'/'cdr'
cdr Return elements after the first of a list.
cdrs Try to get the 'cdrs'; otherwise, return 'nil'.
for.each Apply 'f' to the successive elements of '...'.
is.even Is a number even?
is.nil Whether a list is empty.
is.odd Is a number odd?
last Last element in a list.
nil The empty list
pair.fold.right pair-fold-right from SRFI-1.
pairwise Combine a list into pairwise elements; lists should be of the same length. In case of odd numbers of members, the last will be removed.
zip Zip _n_ lists together into tuplets of length _n_.
zip.c Zip using 'c'.
zip.list Zip using 'list'.
zip.with.names Do a less efficient zip whilst preserving names.