Hacker News new | ask | show | jobs
by Uhuhreally 2452 days ago
In Clojure that's:

  (map (fn [x] (* 2 x)) [1 1 2 3 5])
  => (2 2 4 6 10)