Subject: Re: Vector syntax for a string? From: Erik Naggum <firstname.lastname@example.org> Date: 1998/12/15 Newsgroups: comp.lang.lisp Message-ID: <email@example.com> * Louis Glassy <firstname.lastname@example.org> | Is there a way a CL implementation can read a vector of | characters and recognize it as a string? no. reading vectors using the standard syntax can only create simple vectors, i.e., of type (vector t). strings are like (vector character). | into whatever kind of char (a base-char?) that lives in a real string. (array-element-type "cat") => character note that STRING-CHAR is no longer a type in ANSI Common Lisp. | I'm fixing the read and print parts of the r-e-p-l loop in a small Lisp | interpreter, and if I can, I'd like my version of the interpreter to | handle characters and strings in a way that's consistent with CL. the reader for #( is basically (apply #'vector (read-delimited-list #\))). #:Erik -- man who cooks while hacking eats food that has died twice.