-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Increase laziness of #:: for LazyList #8985
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Interestingly, |
Change `#::` for `LazyList` so that the tail computation is wrapped as a state computation for a new `LazyList`, thus deferring its execution as long as possible.
12e3577 to
905eabc
Compare
|
@NthPortal should |
|
yeah, probably :( |
|
see #9095 |
Port of scala/scala#8985. Co-authored-by: NthPortal <[email protected]>
Port of scala/scala#8985. Co-authored-by: NthPortal <[email protected]>
Port of scala/scala#8985. Co-authored-by: NthPortal <[email protected]>
Port of scala/scala#8985. Co-authored-by: NthPortal <[email protected]>
Port of scala/scala#8985. Co-authored-by: NthPortal <[email protected]>
…ness/PR Increase laziness of #:: for LazyList
…ness/PR Increase laziness of #:: for LazyList
Change
#::forLazyListso that the tail computationis wrapped as a state computation for a new
LazyList,thus deferring its execution as long as possible.
Fixes scala/bug#11984
Before (2.13.2-):
After (2.13.3+):