Re: [racket-dev] An Improvement to for/set

2012-02-20 Thread Daniel King
On Sun, Feb 19, 2012 at 22:20, Matthias Felleisen matth...@ccs.neu.edu wrote: for/set sounds and looks more uniform with the rest of the loops, no? I disagree, I think for/union is a natural analogue for for/product and for/sum. Both for/union and for/set should be in the set library. union

Re: [racket-dev] An Improvement to for/set

2012-02-19 Thread Matthias Felleisen
Subject: [racket-dev] An Improvement to for/set I've noticed myself desiring a for/set that would allow me to optionally add zero, one, or more elements to the accumulated set during each iteration. Is this something that other people would be interested in having in the set library? If so, I can

[racket-dev] An Improvement to for/set

2012-02-17 Thread Daniel King
I've noticed myself desiring a for/set that would allow me to optionally add zero, one, or more elements to the accumulated set during each iteration. Is this something that other people would be interested in having in the set library? If so, I can send a pull request to the github repo. My

Re: [racket-dev] An Improvement to for/set

2012-02-17 Thread J. Ian Johnson
To: Racket Dev List dev@racket-lang.org Sent: Friday, February 17, 2012 1:07:25 PM GMT -05:00 US/Canada Eastern Subject: [racket-dev] An Improvement to for/set I've noticed myself desiring a for/set that would allow me to optionally add zero, one, or more elements to the accumulated set during each