Follow-up with a few more details... I will add: rename to hash-keys/values dict functions for the hash functions I added vector-set*! sequence-cons, sequence-empty, sequence-filter, etc for/sequence
Also, I thought of a better way than prop:procedure to get containers to implicitly ref... we could change apply and #%app. I don't think it would be slower because the code would already be on the slow 'error' path, but I don't have a strong opinion on if it is a good idea, so I don't plan on trying it out until further discussion. Jay On Wed, Aug 11, 2010 at 9:55 PM, Jay McCarthy <jay.mccar...@gmail.com> wrote: > On Wed, Aug 11, 2010 at 8:40 PM, Sam Tobin-Hochstadt <sa...@ccs.neu.edu> > wrote: >> On Wed, Aug 11, 2010 at 8:25 PM, Shriram Krishnamurthi <s...@cs.brown.edu> >> wrote: >>> >>> - The for... forms remind me too much of do. There just don't seem to >>> be primitives with the simplicity of map/filter/fold for sequences. >>> Perhaps I'm missing them. >> >> Personally, I find the `for' macros more concise, except when there's >> already a function that I would pass to `map' etc. Compare: >> >> (for/list ([x e]) (f x)) >> (map (lambda (x) (f x)) e) >> >> I think the bigger problem from a datatype-genericity point of view is >> that sequences don't have enough operations (sequence-ref, >> sequence-set, etc). > > I am in the middle of adding many more sequence functions to > correspond to list functions. > > Jay > >> -- >> sam th >> sa...@ccs.neu.edu >> _________________________________________________ >> For list-related administrative tasks: >> http://lists.racket-lang.org/listinfo/users >> > > > > -- > Jay McCarthy <j...@cs.byu.edu> > Assistant Professor / Brigham Young University > http://teammccarthy.org/jay > > "The glory of God is Intelligence" - D&C 93 > -- Jay McCarthy <j...@cs.byu.edu> Assistant Professor / Brigham Young University http://teammccarthy.org/jay "The glory of God is Intelligence" - D&C 93 _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users