LISP - Perl extension for blah blah blah
use LISP;
my $list = LISP->new(\@array); my $lambda = LISP->new(\&function);
my $cons_cell = LISP->cons($car, $cdr); my $list = LISP::list(@array);
Implements Lisp-like linked-lists and functions/methods.
If given a subroutine reference, blesses the reference into LISP::Lamba and
returns the reference.
cons (CAR, CDR)
Creates a new cons-cell and returns it.
list (ARRAY)
Like the new method, but called with an array as an argument instead of an
array reference, and is more meant to be called as a function rather than a
method (This could change).
None by default.
:all
This will export cons and list from this package, listp and nilp from
LISP::List, and mapcar and apply from LISP::Lambda.
Douglas Wilson, dwilson@gtemail.net
LISP::List, LISP::Lambda, perl(1).