nurkiewicz / LazySeq

Lazy sequences implementation for Java 8
Apache License 2.0
131 stars 32 forks source link

Ability to construct LazySeq from a Stream #13

Open jwgmeligmeyling opened 5 years ago

jwgmeligmeyling commented 5 years ago

A Stream is not an Iterable, even though it has a method iterator(). So I think this would be a nice additional method to have. Please let me know if there are better ways to construct a LazySeq from a Stream and have a strong opinion about this 😄