[plt-scheme] 3?'s
I didn't realize that quoting anything so
literally (exuse the semantics pun) forms a list.
Perhaps I should reread The Little Schemer!
(define a (quote (quote anything)))
(car a)(cdr a)(cddr a)
=>
quote
(anything)
()
>
rac
On Thursday, October 30, 2003, at 09:42 AM, Shriram Krishnamurthi wrote:
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
> Richard Cleis wrote:
>
>> 1) Why does
>> (list 'quote 'anything)
>> do the same thing as
>> (quote 'anything)
>
> The first expression evaluates to
>
> (quote anything)
>
> which the Scheme printer "optimizes" to
>
> 'anything
>
> That's one of the odder artifacts of the traditional Scheme printer.
> If you use the Constructor notation it'll print the first one as
>
> (list 'quote 'anything)
>
> and if you use Quasiquote notation it'll print it as
>
> `'anything
>
> both of which might be more instructive.
>
>> 2) Why is it so hard to find a definition of PLT?
>
> In computer science, three-letter acronyms have an existence unto
> themselves. (-:
>
>> 3) Is that Dr Felleisen that replaced my DrScheme error-bug-icon?
>
> Yep!
>
> Shriram