Skip to content

Conversation

@clyring
Copy link
Member

@clyring clyring commented Mar 31, 2024

As a bonus, the new code is easier to read and doesn't trigger a spurious incomplete-pattern-match warning. (Or finding the bug can be seen as a bonus for cleaning up that messy code.)

Fixes #667.

As a bonus, the new code is easier to read and doesn't trigger
a spurious incomplete-pattern-match warning.  (Or finding the
bug can be seen as a bonus for cleaning up that messy code.)

Fixes haskell#667.
@clyring clyring merged commit 259a0c2 into haskell:master Apr 9, 2024
@clyring clyring added this to the 0.12.2.0 milestone Apr 9, 2024
Bodigrim pushed a commit that referenced this pull request Oct 15, 2024
* Make D.B.Lazy.zipWith properly lazy

As a bonus, the new code is easier to read and doesn't trigger
a spurious incomplete-pattern-match warning.  (Or finding the
bug can be seen as a bonus for cleaning up that messy code.)

Fixes #667.

* Lazy.zipWith: evaluate the 'unsafeHead' calls eagerly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lazy zip is stricter than expected

2 participants