The juxt function is one of my favorites. It returns a function that lets you run many functions against the same parameters and returns the results as a vector.
CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.
@tomheyes
How about
((apply juxt [:foo :baz]) {:foo 2 :bar 3 :baz 4}
=> [2 4]
A really nice way to extract values from a map, especially nice if one is operating on a sequence of maps.