In Clojure map also works on hashes and sets. In keeping with the previous discussion, there's also only one variety of map in Clojure. It's this orthogonality of operations and datatypes that I think is Clojure going in the right direction.
None of which is to say that Clojure isn't standing on the shoulders of giants.
You might be interested in the FSet library (among others): https://common-lisp.net/project/fset/Site/index.html
Re:Practical Common Lisp (2005)
by thomasvarney723 on Sunday December 04, 2016 @03:54PM
(#13101718)
Very well said. The advent of transducers in Clojure has made this 'orthogonality' especially true.
Re:Practical Common Lisp (2005)
by qwertyuiop924 on Sunday December 04, 2016 @09:01AM
(#13100000)
...And us schemers have the TinyCLOS derivatives, so our map could work on any DS: by default, however, it doesn't :-(.
In Common Lisp, MAP works just as well on either.