Skip Menu | 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

Owner: Nobody in particular
Requestors: murawaki [...]

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 infrastructure.

Please report any issues with to