Converts a persistent list to a 'normal' Lisp list.
(defun unwrap-persistent-list (list)
"Converts a persistent list to a 'normal' Lisp list."
(loop until (p-endp list)
collect (p-car list)
do (setq list (p-cdr list))))
Source Context