Re: [racket] Problem with macro

2012-09-01 Thread Harry Spier
Thanks Danny, Its obvious now that you point it out. On Sun, Sep 2, 2012 at 12:27 AM, Danny Yoo wrote: >> (let/set-prompt prompt-3 () >> (+ 1000 >>(abort-to-prompt p 0) >>2000)) >> >> ==> >> >> (call-with-continuation-prompt >> (let () (λ

Re: [racket] Problem with macro

2012-09-01 Thread Danny Yoo
> (let/set-prompt prompt-3 () > (+ 1000 >(abort-to-prompt p 0) >2000)) > > ==> > > (call-with-continuation-prompt > (let () (λ () >+ >1000 >(abort-to-prompt p 0) >2000)) > prompt-3) > > > > And

Re: [racket] Problem with macro

2012-09-01 Thread Danny Yoo
> So I tried modifying the macro to the following. > > ;(let/set-prompt args prompt (body ...)) > (define-syntax let/set-prompt > (syntax-rules () > [(_ARGS (BODY ...)) (call-with-continuation-prompt > (let ARGS (λ () BODY ...)))] > [(_ PROMPT ARGS (BODY ...)) (cal

[racket] Problem with macro

2012-09-01 Thread Harry Spier
Dear list members, I'm trying to work my way through Racket continuations by going through the Guide and Reference. And as part of that I set up small examples and sometimes macros to simplify the syntax so I can see more clearly whats going on. So I made a let type form of call-with-continuatio

Re: [racket] ActiveX support

2012-09-01 Thread Matthew Flatt
At Fri, 31 Aug 2012 17:58:07 -0600, Matthew Flatt wrote: > At Fri, 31 Aug 2012 15:50:46 +0200, herak...@gmx.de wrote: > > I have an ocx-control and I would like to use it from Racket. > > > > Is it possible to bind this control in any way to Racket/Scheme? > > I think the way to do that is to use

Re: [racket] My new Racket blog....

2012-09-01 Thread Jay McCarthy
On Thu, Aug 30, 2012 at 6:10 PM, Joe Gilray wrote: > Hi Jay, > > Since your post, I've been reading and thoroughly enjoying your blog... > thank you! > > Some newbie questions and comments: > > 1) I clicked the "download" button on your boggle posting and read it into > DrRacket (5.3). When I hit