ClojureDocs

Nav

Namespaces

core.async
core.logic
data.csv
spec.alpha
tools.build
  • clojure
tools.deps

skip-if-eol

  • (skip-if-eol s)
If the next character on stream s is a newline, skips it, otherwise
leaves the stream untouched. Returns :line-start, :stream-end, or :body
to indicate the relative location of the next character on s. The stream
must either be an instance of LineNumberingPushbackReader or duplicate
its behavior of both supporting .unread and collapsing all of CR, LF, and
CRLF to a single \newline.