Reading the document as a list structure. | Lecture 6 - slide 7 : 22 Program 1 |
(let* ((port (open-input-file "new-document.lsp")) (new-document (read port)) ) ; new-document is a reference to the list structure ; representation of the new document. (process-document! new-document) (close-input-port port) )