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:3627 top

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

Comments top

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