[plt-scheme] Student parsing problem

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Wed Jun 3 13:34:15 EDT 2009

On Wed, Jun 3, 2009 at 11:14 AM, Eli Barzilay <eli at barzilay.org> wrote:
> On Jun  3, John Clements wrote:
>>
>> On Jun 3, 2009, at 8:40 AM, Eli Barzilay wrote:
>> > and it works with multiple expressions too:
>> >
>> >  (define (foo x)
>> >    ;#;#;
>> >    (printf "foo\n")
>> >    (printf "  x = ~s\n" x)
>> >    ...)
>>
>> This is the most frightening idea I've heard today.
>
> I *seriously* don't see what would be frightening about it.

I was frightened too, but I expect as much from the earth-shattering Eli.

It never occurred to me that #;s would stack like that, but it makes sense now.

Jay

-- 
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://teammccarthy.org/jay

"The glory of God is Intelligence" - D&C 93


Posted on the users mailing list.