ClojureDocs

Nav

Namespaces

slurp

clojure.core

Available since 1.0 (source)
  • (slurp f & opts)
Opens a reader on f and reads all its contents, returning a string.
See clojure.java.io/reader for a complete list of supported arguments.