Re: [racket-dev] take, drop, split-at, etc -- and argument order, again

2013-03-10 Thread Laurent
Just a side question: Would it be a bad idea to make a separate library that uses the normal names without f, so that people can write #lang racket (require racket/flist) ? or even use `prefix-in' if they prefer? Laurent On Sat, Mar 9, 2013 at 4:28 PM, Eli Barzilay e...@barzilay.org wrote:

Re: [racket-dev] take, drop, split-at, etc -- and argument order, again

2013-03-10 Thread Matthias Felleisen
I like this idea a lot. If you start from racket/base, you can then 'graduate' to a saner Racket gradually. -- Matthias On Mar 10, 2013, at 7:07 AM, Laurent wrote: Just a side question: Would it be a bad idea to make a separate library that uses the normal names without f, so that

Re: [racket-dev] take, drop, split-at, etc -- and argument order, again

2013-03-10 Thread Eli Barzilay
9 hours ago, Laurent wrote: Just a side question: Would it be a bad idea to make a separate library that uses the normal names without f, so that people can write #lang racket (require racket/flist) ? or even use `prefix-in' if they prefer? Something that comes up from time to time is

Re: [racket-dev] take, drop, split-at, etc -- and argument order, again

2013-03-09 Thread Eli Barzilay
A few minutes ago, Eli Barzilay wrote: Here's why I think it might be useless: For just `takef-right', it's possible to do something smart that scans the list in order, keeping a pointer to the beginning of the current good block. This avoids a double scan *but* the

Re: [racket-dev] take, drop, split-at, etc -- and argument order, again

2013-03-09 Thread Eli Barzilay
It's no committed pushed. With the bad argument order. Just to show how bad it is, it's not just `findf' -- there's many others, like `partition' which is very similar, yet it takes the predicate first. I'd really like to fix the order of all of these things. Maybe someone has some idea how

Re: [racket-dev] take, drop, split-at, etc -- and argument order, again

2013-03-09 Thread Robby Findler
#lang racket2 ? On Sat, Mar 9, 2013 at 3:09 PM, Eli Barzilay e...@barzilay.org wrote: It's no committed pushed. With the bad argument order. Just to show how bad it is, it's not just `findf' -- there's many others, like `partition' which is very similar, yet it takes the predicate first.

Re: [racket-dev] take, drop, split-at, etc -- and argument order, again

2013-03-09 Thread Eli Barzilay
An hour ago, Robby Findler wrote: #lang racket2 ? That is much later than I hoped. (And when it comes, I certainly hope it won't be `racket2'.) On Sat, Mar 9, 2013 at 3:09 PM, Eli Barzilay e...@barzilay.org wrote: It's no committed pushed.  With the bad argument order. Just