Re: [racket-dev] flatten-begin

2014-07-21 Thread Robby Findler
Yes, I agree. I don't have a good suggestion for the name, tho. Sorry. Robby On Mon, Jul 21, 2014 at 3:19 PM, Asumu Takikawa wrote: > On 2014-07-19 23:12:51 -0400, Asumu Takikawa wrote: >> This sounds like a nice solution and it would be fine for my use-case >> too. Anyone have any reasons again

Re: [racket-dev] flatten-begin

2014-07-21 Thread Asumu Takikawa
On 2014-07-19 23:12:51 -0400, Asumu Takikawa wrote: > This sounds like a nice solution and it would be fine for my use-case > too. Anyone have any reasons against? (otherwise I can make the change) I just realized that `flatten-begin` actually doesn't care if the form starts with a `begin`. In oth

Re: [racket-dev] flatten-begin

2014-07-20 Thread Robby Findler
On Sun, Jul 20, 2014 at 1:27 AM, Matthew Flatt wrote: > At Fri, 18 Jul 2014 09:52:26 -0500, Robby Findler wrote: >> Unless someone knows why it is a bad idea, how about adding a #:all? >> argument that flattens all the way down? >> >> I don't see many uses of flatten-begin in our tree, but the one

Re: [racket-dev] flatten-begin

2014-07-19 Thread Matthew Flatt
At Fri, 18 Jul 2014 09:52:26 -0500, Robby Findler wrote: > Unless someone knows why it is a bad idea, how about adding a #:all? > argument that flattens all the way down? > > I don't see many uses of flatten-begin in our tree, but the one in > compatibility/package sure looks like it could use the

Re: [racket-dev] flatten-begin

2014-07-19 Thread Asumu Takikawa
On 2014-07-18 09:52:26 -0500, Robby Findler wrote: > Unless someone knows why it is a bad idea, how about adding a #:all? > argument that flattens all the way down? > > I don't see many uses of flatten-begin in our tree, but the one in > compatibility/package sure looks like it could use the #:all?

Re: [racket-dev] flatten-begin

2014-07-18 Thread Robby Findler
On Fri, Jul 18, 2014 at 9:37 AM, Asumu Takikawa wrote: > On 2014-07-17 22:17:18 -0500, Robby Findler wrote: >>Why doesn't flatten-begin already do this? > > I'm not sure. I was hoping someone else could tell me. :) Ha! :) Maybe there's something you might want to do with the intermediate syn

Re: [racket-dev] flatten-begin

2014-07-18 Thread Asumu Takikawa
On 2014-07-17 22:17:18 -0500, Robby Findler wrote: >Why doesn't flatten-begin already do this? I'm not sure. I was hoping someone else could tell me. :) Cheers, Asumu _ Racket Developers list: http://lists.racket-lang.org/dev

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 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 would > rec