Re: [racket-dev] [plt] Push #20857: master branch updated
Here's the next batch of changes based on the recent article.
I didn't do every list function because some of them don't make as
much sense to me, but I think I've given a framework for anyone who
has more functions they think we need to see how to implement it and
then where to put the tests, etc. If anyone has suggestions for
another function, let me know.
There's a few things I wanted to do that I didn't know how:
- for/sequence that constructs the sequence lazily. (The exist
for/fold/derived looks like it can't deal with the laziness and it
seems very bad to duplicate the macro code.)
- sequence/c -- I know how I'd implement it, but I don't know where it
would be allowed to go.
As a final note, I don't intend this to be a mere pandering to this
blog post. When I was reading the blog post I found myself saying, "Ya
but you could implement that so easily" or "Ya, it is annoying to use
that pattern", etc. Hearing myself say that told me that I've always
wanted many of these functions but I always implemented them in a
one-off fashion or used a boilerplate pattern.
Jay
On Thu, Aug 12, 2010 at 2:10 PM, <jay <at> racket-lang.org> wrote:
> jay has updated `master' from 1ebdb6a90b to fae0cb2c99.
> http://git.racket-lang.org/plt/1ebdb6a90b..fae0cb2c99
>
(Continue reading)