Skip to content

Commit

Permalink
Fix a small typo.
Browse files Browse the repository at this point in the history
The documentation claims LIST-STRUCTURE returns the keyword :CIRCULAR, while it actually returns :CIRCULAT.
  • Loading branch information
marcoheisig committed Jun 3, 2018
1 parent b447d12 commit 6caccd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion list-structure.lisp
Expand Up @@ -38,7 +38,7 @@
finally (return (values (hash-table-count table)
(cond ((null remaining) :proper)
((atom remaining) :dotted)
(t :circulat)))))))
(t :circular)))))))

(defun proper-list-p (cst)
(eq (nth-value 1 (list-structure cst)) :proper))

0 comments on commit 6caccd3

Please sign in to comment.