[cl-who-devel] loop and with-html-output

Tyler Smith tyler.smith at mail.mcgill.ca
Thu Dec 22 17:19:25 UTC 2011


On Thu, Dec 22, 2011 at 12:10 PM, Jeffrey Cunningham
<jeffrey at jkcunningham.com> wrote:
> On Thu, 22 Dec 2011 09:03:43 -0800, Tyler Smith
> <tyler.smith at mail.mcgill.ca> wrote:
>
>> On Thu, Dec 22, 2011 at 10:53 AM, Sebastian Tennant
>> <sebyte at smolny.plus.com> wrote:
>>> http://weitz.de/cl-who/#syntax
>>>
>>> Hope this helps.
>>>
>>
>> Not really, that's the documentation that I'm confused about. It
>> starts out with the statement that strings will be printed verbatim.
>> My variables are strings, but they aren't printed. I understand from
>> Jens' response that I can get the function to work by wrapping my
>> variables in (str ...), but I don't understand why that's necessary.
>> The documentation of str suggests it's not necessary for strings:
>>
>>   A form which is neither a string nor a keyword nor a list beginning
>> with a keyword will be left as is except for the following
>> substitutions:
>>
>> My variables are already strings:
>>
>
> Your variables are variables (symbols bound to addresses pointing to
> strings), not strings.
>
> --Jeff

Oh, I see. Is this a special circumstance of the macro then, or are
symbols bound to strings and actual strings not interchangeable in
Lisp?

Thanks for your patience,

Tyler




More information about the Cl-who-devel mailing list