Skip to content

Instantly share code, notes, and snippets.

@davidvhill
Created December 6, 2019 19:11
Show Gist options
  • Save davidvhill/6d51924aa486cc954d8759db1eb9841c to your computer and use it in GitHub Desktop.
Save davidvhill/6d51924aa486cc954d8759db1eb9841c to your computer and use it in GitHub Desktop.
Numerizing Made Simple
(require '[clojure.edn :as edn])
;; props to didibus https://clojuredocs.org/clojure.core/num
(defn numberize
[value]
(edn/read-string value))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment