Re: Collections and data structures wishlist?

"Thomas F. Burdick" <[email protected]>
Newsgroups gmane.comp.lang.racket.user,gmane.lisp.scheme.plt
Message-ID <[email protected]>

On January 25, 2019 8:33:09 PM GMT+01:00, Jack Firth <[email protected]> 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.