Re: [racket-dev] behavior of 'local-transformer-expand' changed

2013-08-01 Thread Tobias Hammer
Here is a strip down example of a case that worked before and gave an error with the new version. I was only interested in the information if the argument to mac could be expanded to something bound or not. So the quick solution here was to wrap the provide in begin and expand it in 'top-leve

Re: [racket-dev] behavior of 'local-transformer-expand' changed

2013-08-01 Thread Matthew Flatt
I removed those options because the implementation did not look sensible for those cases. Implementation aside, using 'module-begin doesn't make sense to me. A form in the place of `#%module-begin' is always expanded at phase-level 0, so there isn't really. I'm less certain about 'module. It may

[racket-dev] behavior of 'local-transformer-expand' changed

2013-08-01 Thread Tobias Hammer
Hi, Commit e51ac9cc [1] from about a month ago changed the allowed values for local-transformer-expands context-v argument. It now refuses 'module and 'module-begin. Previously i could simply pass the result from syntax-local-context. I am not sure what i should pass now and what implicatio