title: Is there a standard func that takes a dict and a list of keys and returns the list of corresponding vals?
body: <p>I'm looking for something similar to <a href="http://clojure.github.io/clojure/clojure.core-api.html#clojure.core/select-keys">select-keys</a>:</p>
  
  <pre><code>(desired-fn {:a 1, :b 2, :c 3, :d 4} [:a :d])
  ;= [1 4]
  
  ;; N.B. the order of the keys in the argument seq is preserved
  (= (desired-fn (array-map :a 1, :b 2, :c 3, :d 4)
                 [:b :c])
     (desired-fn (array-map :d 4, :c 3, :a 1, :b 2)
                 [:b :c]))
  ;= true
  </code></pre>
  
  <p>It's not particularly hard to implement, though I haven't tried to come up with a good name yet:</p>
  
  <pre><code>(defn select-values-corresponding-to-keys [m ks]
    (for [k ks]
      (get m k)))
  </code></pre>
  
  <p>Am I ignorant of a standard function that meets precisely this need? If not, do other languages —e.g., Python, Ruby, Haskell— have a name for this function?</p>