[plt-scheme] adding syntax transfomer to a namespace
----- Original Message -----
From: "Matthew Flatt" <mflatt at cs.utah.edu>
To: "Dan Liebgold" <dan.liebgold at gmail.com>
Cc: <plt-scheme at list.cs.brown.edu>
Sent: Friday, December 14, 2007 4:41 PM
Subject: Re: [plt-scheme] adding syntax transfomer to a namespace
> (define (add-binding name transformer)
>
> (with-syntax ([name (datum->syntax #f name)])
> (eval #`(define-syntax name #,transformer))))
Thanks, that's clear now. I should have figured that myself.
Jos