Re: [racket] Exposition via macro

2013-01-04 Thread Philipp Dikmann
Thanks to both of you! Those are two nice solutions that I didn't know about. On 04.01.13 21:21, Vincent St-Amour wrote: If the original and user code are in different modules, you can use `provide' with `rename-out' or `require' with `rename-in'. Vincent At Fri, 04 Jan 2013 20:52:36 +0100,

Re: [racket] Exposition via macro

2013-01-04 Thread Vincent St-Amour
If the original and user code are in different modules, you can use `provide' with `rename-out' or `require' with `rename-in'. Vincent At Fri, 04 Jan 2013 20:52:36 +0100, Philipp Dikmann wrote: > > Hello everybody, > > I'm trying to expose a module's functionality to the user via a macro > th

Re: [racket] Exposition via macro

2013-01-04 Thread J. Ian Johnson
h-timesten body ...) (syntax-parameterize ([tt (make-rename-transformer #'timesten)]) body ...)) -Ian - Original Message - From: "Philipp Dikmann" To: users@racket-lang.org Sent: Friday, January 4, 2013 2:52:36 PM GMT -05:00 US/Canada Eastern Subject: [racket] Ex

[racket] Exposition via macro

2013-01-04 Thread Philipp Dikmann
Hello everybody, I'm trying to expose a module's functionality to the user via a macro that will let them use 'short-hand' names for the provided functions. Yet I want to keep the 'long' names inside the original code for clarity. The code below will not work - because of macro hygiene - but