Subject: Re: Determining whitespace
From: Erik Naggum <erik@naggum.no>
Date: 13 Oct 2002 23:28:21 +0000
Newsgroups: comp.lang.lisp
Message-ID: <3243540501105910@naggum.no>

* Matthew X. Economou
| I thought it would be a lower-level function suitable for use in a reader
| macro (or other user-input routine), just as PARSE-INTEGER seems to be
| used by READ.

  `parse-integer´ is not used by `read´.

| I didn't realize how complicated it could be until I took a look at the
| source code to the IP address parsing routines in several different
| operating systems and resolver libraries.

  No kidding.  People do so many horrible things you could cry.

| I was processing the input string character by character, instead of
| converting it to a string-stream.

  Ideally, a string-stream should be better from all perspectives, but is
  often much more expensive than need be.

-- 
Erik Naggum, Oslo, Norway

Act from reason, and failure makes you rethink and study harder.
Act from faith, and failure makes you blame someone and push harder.