On January 25, 2019 8:33:09 PM GMT+01:00, Jack Firth <jackhfi...@gmail.com> wrote: > >Due to the kind of data that would go in tuples - namely, a fixed-sized >heterogeneous collection of values - a function probably *shouldn't* >use >map and filter to process tuples. A program that calls filter on an >x-y-z >coordinate tuple is likely incorrect and not what the programmer >intended. Funny you should pick that as an example. I work in a CAD environment where points are two-item lists, and polygon outlines are lists of points. You'd be surprised how often it's useful to use ordinary list functions on points. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
- [racket-users] Collections and data structures wis... jackhfirth
- Re: [racket-users] Collections and data struc... Matthias Felleisen
- Re: [racket-users] Collections and data s... jackhfirth
- Re: [racket-users] Collections and data s... Greg Hendershott
- Re: [racket-users] Collections and da... Gustavo Massaccesi
- Re: [racket-users] Collections an... David Storrs
- Re: [racket-users] Collections an... Matthias Felleisen
- Re: [racket-users] Collectio... Jack Firth
- Re: [racket-users] Colle... Thomas F. Burdick
- Re: [racket-users] C... Matthias Felleisen
- Re: [racket-users] C... Jack Firth
- Re: [racket-users] C... Matthias Felleisen
- Re: [racket-users] C... Hendrik Boom
- Re: [racket-users] C... Matthias Felleisen
- Re: [racket-users] C... Sorawee Porncharoenwase
- Re: [racket-users] C... Matthias Felleisen
- Re: [racket-users] C... Hendrik Boom
- Re: [racket-users] C... Jesse Alama
- Re: [racket-users] Colle... Hendrik Boom