[plt-scheme] Newbie Macro question

From: Jens Axel Søgaard (jensaxel at soegaard.net)
Date: Sat Mar 29 03:11:17 EST 2003

> At Fri, 28 Mar 2003 20:42:49 -0500, "Pedro Pinto" wrote:

>> But this does not preserve case, i.e.
>>
>>> (to-string MyStringToBe)
>> "mystringtobe"

Robby Findler wrote:
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
> Your understanding is right on. The problem is that case-insensitivity
> is implemented by the reader (aka lexer) downcasing everying.

Perhaps Pedro could use the #cs - thingy [Pedro: Search for #cs in
the Help Desk]?

> #cs(to-string MyStringToBe)
"MyStringToBe"

Or better put all the code in a #cs(module ...).

--
Jens Axel Søgaard



Posted on the users mailing list.