Skip to content
Commit 86f69d0a authored by Nikodemus Siivola's avatar Nikodemus Siivola
Browse files

PROPER-LIST-LENGTH and related changes

- New function: PROPER-LIST-LENGTH.

- Share code between PROPER-LIST-LENGTH, LASTCAR, and SETF LASTCAR
  via a macrolet.

- Use ENDP wrapped in SAFETY 3, to ensure proper detection of dotted
  lists.

- Use PROPER-LIST-LENGTH instead of LIST-LENGTH in ROTATE, RANDOM-ELT,
  and SHUFFLE, and test that they signal an error for improper lists.
  (Thanks to Tobias Rittweiler)
parent 3f0815c8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment