rewrite-clj.reader
read-n
(read-n reader node-tag read-fn p? n)Call the given function on the given reader until n values matching p? have been collected.
read-repeatedly
(read-repeatedly reader read-fn)Call the given function on the given reader until it returns a non-truthy value.
read-until
(read-until reader p?)Read until a char fulfills the given condition. Ignores the matching char.
read-while
(read-while reader p? & [eof?])Read while the chars fulfill the given condition. Ignores the unmatching char.
read-with-meta
(read-with-meta reader read-fn)Use the given function to read value, then attach row/col metadata.