ClojureDocs

Nav

Namespaces

Clojure/Conj 2026 — Charlotte, NC — Sept 30 - Oct 2 Learn More & Get Tickets →

read+string

clojure.core

Available since 1.10 (source)
  • (read+string)
  • (read+string stream)
  • (read+string stream eof-error? eof-value)
  • (read+string stream eof-error? eof-value recursive?)
  • (read+string opts stream)
Like read, and taking the same args. stream must be a LineNumberingPushbackReader.
Returns a vector containing the object read and the (whitespace-trimmed) string read.