Liking cljdoc? Tell your friends :D

org.ajoberstar.cljj.stream


stream-seq

(stream-seq stream)

Converts a stream to a Seq. Unfortunately clojure.core/seq integration isn't possible due to two things:

  • BaseStream/Stream don't implement Iterable (though they have an iterator() method)
  • No protocols exist that can make something work with clojure.core/seq
Converts a stream to a Seq. Unfortunately clojure.core/seq integration
isn't possible due to two things:
- BaseStream/Stream don't implement Iterable (though they have an iterator() method)
- No protocols exist that can make something work with clojure.core/seq
sourceraw docstring

Streamableprotocol

Extend this protocol if your type should be able to be converted to a Stream.

Extend this protocol if your type should be able to be converted to a Stream.
to-stream
(to-stream x)
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close