The CLHS 13.2.6 says: (character "a") -> #\a
On win32: ACL, LW, and CLisp have a cow. er, backtrace.
CLHS mistake?
ken
--
Cells: http://common-lisp.net/project/cells/
"Have you ever been in a relationship?"
Attorney for Mary Winkler, confessed killer of her
minister husband, when asked if the couple had
marital problems.
> The CLHS 13.2.6 says: (character "a") -> #\a
> On win32: ACL, LW, and CLisp have a cow. er, backtrace.
> CLHS mistake?
In CLisp 2.33 on win32 (comes with old version of LispBox):
(character "a") -> #\a
Ken Tilton <·········@gmail.com> writes:
> The CLHS 13.2.6 says: (character "a") -> #\a
>
> On win32: ACL, LW, and CLisp have a cow. er, backtrace.
Hmmm, on OS X ACL has no problem with:
(character "a")
However:
(character "hi mom")
has a cow because "hi mom" is not a character designator.
> CLHS mistake?
Doesn't seem like it.
-Peter
--
Peter Seibel * ·····@gigamonkeys.com
Gigamonkeys Consulting * http://www.gigamonkeys.com/
Practical Common Lisp * http://www.gigamonkeys.com/book/
Peter Seibel wrote:
> Ken Tilton <·········@gmail.com> writes:
>
>
>>The CLHS 13.2.6 says: (character "a") -> #\a
>>
>>On win32: ACL, LW, and CLisp have a cow. er, backtrace.
>
>
> Hmmm, on OS X ACL has no problem with:
>
> (character "a")
>
> However:
>
> (character "hi mom")
>
> has a cow because "hi mom" is not a character designator.
Ouch. I got as far as the CLHS entry on that, but there were no pictures
so I lost interest before getting to "length one".
:)
Anyway, turns out Tk reports the minus key to applications as the keysym
"minus" instead of char-code 45, so I have to use a hash-table anyway.
Sorry for the noise.
ken
--
Cells: http://common-lisp.net/project/cells/
"Have you ever been in a relationship?"
Attorney for Mary Winkler, confessed killer of her
minister husband, when asked if the couple had
marital problems.
Ken Tilton wrote:
> The CLHS 13.2.6 says: (character "a") -> #\a
>
> On win32: ACL, LW, and CLisp have a cow. er, backtrace.
>
> CLHS mistake?
>
> ken
>
LWW (Win32)
CL-USER 1 > (character "a")
#\a
What are you doing differently?
Wade
On Fri, 14 Apr 2006 23:26:39 GMT, Wade Humeniuk
<··················@telus.net> wrote:
>Ken Tilton wrote:
>> The CLHS 13.2.6 says: (character "a") -> #\a
>>
>> On win32: ACL, LW, and CLisp have a cow. er, backtrace.
>>
>> CLHS mistake?
>>
>> ken
>>
>
>LWW (Win32)
>
>CL-USER 1 > (character "a")
>#\a
Works for me on Allegro 8.0 Windows as well.