[racket-dev] for/... improvement. #:filter

2013-09-10 Thread Roman Klochkov
I propose to add yet one keyword to for/foldX/derived/break (and so to all for/... syntaxes). Reason:  If one need to filter the results of body before collecting them in list/vector/sum/..., there are two options: 1. (filter filter-func (for/list ...)) : doubles memory consumption and

Re: [racket-dev] for/... improvement. #:filter

2013-09-10 Thread Stephen Chang
I like the proposal. My earlier suggestion for supporting #:when and #:unless in the body is the same as what you are asking for, I believe. On Wed, Sep 11, 2013 at 12:41 AM, Roman Klochkov kalimeh...@mail.ru wrote: I propose to add yet one keyword to for/foldX/derived/break (and so to all