(stream-seq stream)Converts a stream to a Seq. Unfortunately clojure.core/seq integration isn't possible due to two things:
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
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 x)cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |