Subject: Re: array input/output to files
From: Erik Naggum <>
Date: 1999/08/18
Newsgroups: comp.lang.lisp
Message-ID: <>

* (kp gores)
| to change the reader i have to modify the meaning of "#", right?


| (defun |#(-reader| (stream subchar arg)
|   (declare (ignore subchar arg))
|   (make-array :adjustable T
|		:fill-pointer T
|		:initial-contents (read stream t nil t)))

  try READ-DELIMITED-LIST, instead of READ.

| second, the arguments to make-array are wrong.

  yes, you would need to read the list first, then use its length as the

| i believe this are ignorant questions, but having never ever thought
| about modifying the reader, i have to ask for more help.

  I think you should hold back on modifying the reader.  it's not a good
  _first_ thing to try.

  (defun pringles (chips)
    (loop (pop chips)))