O'Reilly logo

Common Lisp Recipes: A Problem-Solution Approach by Edmund Weitz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

3. Strings and Characters

Whereas “computing” was mostly about numbers in its earlier days, strings and characters are ubiquitous now—just think about XML and Internet protocols like HTTP. In COMMON LISP, characters, as well as strings, are first-class data types.

The ANSI COMMON LISP standard was finalized before there was a usable Unicode standard; it gives much leeway to implementors about how they want to represent and support strings and characters. But now that Unicode seems to be widely adopted, most Lisps have full Unicode support. It is a testament to the foresight of the ANSI committee that this was possible without breaking adherence to the standard. COMMON LISP never felt tempted to identify characters with numbers or deal with “convenient” ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required