Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Dec 22, 2021. It is now read-only.
This repository was archived by the owner on Dec 22, 2021. It is now read-only.

Lazier LazyList? #367

@julienrf

Description

@julienrf

@sjrd pointed mo to scala/bug#10696

In our current LazyList implementation, you have to say whether a LazyList instance is going to be empty or non empty at the time you build it, making it impossible to implement an unblocking linesStream operation. We should consider delaying the moment where we say whether the LazyList is empty or not to iteration time instead of construction time.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions