You're viewing version 1.2.0 of load-string. The latest stable version of Clojure Core is 1.3.0.
1.2.0 Arrow_down_16x16

load-string

clojure.core

  • (load-string s)
Sequentially read and evaluate the set of forms contained in the
string

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/core.clj:3154 top

(defn load-string
  "Sequentially read and evaluate the set of forms contained in the
  string"
  {:added "1.0"}
  [s]
  (let [rdr (-> (java.io.StringReader. s)
                (clojure.lang.LineNumberingPushbackReader.))]
    (load-reader rdr)))
Vars in clojure.core/load-string: defn let load-reader
Used in 0 other vars

Comments top

No comments for load-string. Log in to add a comment.