Re: CLisp case sensitivity
From: Peter Seibel (peter_at_javamonkey.com)
Date: 12/15/04
- Next message: Pascal Bourguignon: "Re: multiple values in DEFMACRO (was: Question about backquotes)"
- Previous message: Kenny Tilton: "Re: Question about backquotes"
- In reply to: Adam Warner: "Re: CLisp case sensitivity"
- Next in thread: Adam Warner: "Re: CLisp case sensitivity"
- Reply: Adam Warner: "Re: CLisp case sensitivity"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 15 Dec 2004 07:18:08 GMT
Adam Warner <usenet@consulting.net.nz> writes:
> I made a simple claim Barry: Since ANSI Common Lisp doesn't define
> the size of a character the length of an arbitrary string will be
> implementation specific. I am sure of this claim because no one has
> put their foot down and told implementors, for better or worse, that
> characters are a fixed size of n-bits or that characters must be
> handled as grapheme clusters of variable size.
Why should the size of characters have anything at all to do with the
length of strings? Strings are measured in characters so whether you
use 8 bits or 8 megs to represent each character should have nothing
to do with the value LENGTH returns when passed a string. In those
implementations that return some number greater than 1 for a
"one-character" string, what do they return for (char s 1) (char s 2)
and (char s 3)?
-Peter
--
Peter Seibel peter@javamonkey.com
Lisp is the red pill. -- John Fraser, comp.lang.lisp
- Next message: Pascal Bourguignon: "Re: multiple values in DEFMACRO (was: Question about backquotes)"
- Previous message: Kenny Tilton: "Re: Question about backquotes"
- In reply to: Adam Warner: "Re: CLisp case sensitivity"
- Next in thread: Adam Warner: "Re: CLisp case sensitivity"
- Reply: Adam Warner: "Re: CLisp case sensitivity"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|