Miscellany
public text v1 · immutable(defun construct-lines (arr l-word wordlist) ;; could put l-word in let (1- (length wordlist))
(let ((complete-list '()))
(while (> 0 l-word)
(let ((temp-list '()))
(loop for i from (aref arr 1 l-word) to l-word do
(push (elt wordlist i) temp-list)
(setf l-word (aref arr 1 l-word)))
(push (reverse temp-list) complete-list)))
complete-list))