Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

This queue is for tickets about the LISP CPAN distribution.

Report information
The Basics
Id: 21251
Status: new
Priority: 0/
Queue: LISP

People
Owner: Nobody in particular
Requestors: murawaki [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: inconsistent treatment of the empty list
Download (untitled) / with headers
text/plain 519b
LISP->new([])->string gives "(NIL)". I'm not sure whether the LISP module is to equate the empty list with the symbol NIL. In either case, this behavior is wrong. If you intend to distinguish them (like Scheme), it should be "()". Otherwise (Emacs Lisp and others), it should be "NIL". For a reference to the empty array, LISP::List returns a new pair whose car and cdr are NIL. I guess this pair is semantically NIL, but it isn't in reality because the reference doesn't refer to the same address as $LISP::List::NIL.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.