In clisp (cdr nil) => nil but in openlisp (cdr nil) gives an error.
is this correct?
Ramiro wrote:In clisp (cdr nil) => nil but in openlisp (cdr nil) gives an error.
is this correct?
The function car returns the left component of the cons. An error shall be signaled if cons is not a cons (error-id. domain-error).
Example:
(car '()) ;; an error shall be signaled
Users browsing this forum: No registered users and 1 guest