Re: [racket-dev] src-id in identifier-binding for same-module definitions

2014-07-17 Thread Matthew Flatt
Does `identifier-binding` not give you the symbol that you need? At Wed, 16 Jul 2014 23:32:46 -0400, Sam Tobin-Hochstadt wrote: Ok, I thought I had figured this out, but I was wrong. Here's what I want to be able to do: - take an identifier in a fully-expanded source file - translate

Re: [racket-dev] src-id in identifier-binding for same-module definitions

2014-07-17 Thread Sam Tobin-Hochstadt
Ah, now I know what I was doing wrong. I was using identifier-binding for references, but not for definitions. Now that I'm using it in both places, things seem to work. Thanks! Sam On Jul 17, 2014 3:08 AM, Matthew Flatt mfl...@cs.utah.edu wrote: Does `identifier-binding` not give you the

[racket-dev] flatten-begin

2014-07-17 Thread Asumu Takikawa
Hi all, I was wondering what people think about a potential API addition to the `syntax/flatten-begin` library. Something like `flatten-begin*` (or a less terrible name) that would recursively flatten `begin` expressions like the `flatten` function does for plain lists. i.e., (flatten-begin*

Re: [racket-dev] flatten-begin

2014-07-17 Thread Robby Findler
Why doesn't flatten-begin already do this? Robby On Friday, July 18, 2014, Asumu Takikawa as...@ccs.neu.edu wrote: Hi all, I was wondering what people think about a potential API addition to the `syntax/flatten-begin` library. Something like `flatten-begin*` (or a less terrible name) that