Subject: Re: missing stream operations...
From: Erik Naggum <>
Date: 1999/06/25
Newsgroups: comp.lang.lisp
Message-ID: <>

* David Bakhash <>
| CL seems to be lacking...

  you're staring at a C legacy, where characters _are_ bytes, and you
  conclude that Common Lisp is lacking a feature from C?  hello?

| Other languages don't make such a distinction about binary streams
| vs. character streams.

  yes, they do.  C is relatively unique in not having a character concept.

| Does anyone know how to get the equivalent what #'peek-byte[-no-hang]
| would do?

  use LISTEN and read one byte if returns true.

  not sure this is a spoiler, but Allegro CL 5.0.1 has bivalent streams so
  people who have to talk C protocols can do it in Common Lisp, too.

@1999-07-22T00:37:33Z -- pi billion seconds since the turn of the century