Hacker News new | ask | show | jobs
by Uhuhreally 2445 days ago
Actual comparison with Clojure:

  (require [clojure.data.json :as json])

  (defn xform [s]
     (-> s
         json/read-str
         (update "foo" + 2)
         json/write-str))
Your example is Clojurescript with interop