Re: [racket-dev] continuation weirdness

2010-08-12 Thread Shriram Krishnamurthi
> Understood, too. So, do you want WeScheme/Racket compatibility or > WeScheme/DrRacket compatibility? In some sense, neither. We'd like to understand what is actually happening, so we can make an intelligent decision accordingly. Shriram _ For l

Re: [racket-dev] continuation weirdness

2010-08-12 Thread Matthias Felleisen
On Aug 12, 2010, at 12:54 PM, Shriram Krishnamurthi wrote: > Understood. However, I think Danny's only concern w/ this code (which > I wrote, so don't blame him) is as a test case for WeScheme/Racket > compatibility in the presence of continuations. Understood, too. So, do you want WeScheme/Rac

Re: [racket-dev] continuation weirdness

2010-08-12 Thread Shriram Krishnamurthi
Understood. However, I think Danny's only concern w/ this code (which I wrote, so don't blame him) is as a test case for WeScheme/Racket compatibility in the presence of continuations. Shriram _ For list-related administrative tasks: http://list

Re: [racket-dev] continuation weirdness

2010-08-12 Thread Matthias Felleisen
On Aug 12, 2010, at 12:46 PM, Shriram Krishnamurthi wrote: > I'm failing to see anything other than cosmetic changes (ones that I > heartily approve of) in your version of the code. That's all I was suggesting. I think style matters and I decided that it was worth pointing those out. I simp

Re: [racket-dev] continuation weirdness

2010-08-12 Thread Shriram Krishnamurthi
I'm failing to see anything other than cosmetic changes (ones that I heartily approve of) in your version of the code. Did I miss a semantic diff? _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev

Re: [racket-dev] continuation weirdness

2010-08-12 Thread Matthias Felleisen
On Aug 11, 2010, at 3:58 PM, Danny Yoo wrote: > ; >> (g1) > # > # > ; > > where the print-values display of the continuation function appears to > be printing twice. I guess I'm trying to understand what DrScheme is > doing, well enough that I can

[racket-dev] continuation weirdness

2010-08-11 Thread Danny Yoo
I came across some oddity under DrRacket involving continuations. If I have the following in my definitions window: ; #lang racket (define (make-gen gen) (let ([cont (box #f)]) (lambda () (call/cc (lambda (caller)