Skip to content

Parameterize Handle for lazy ByteString #708

Open
yaitskov wants to merge 1 commit intohaskell:masterfrom
yaitskov:bshandle
Open

Parameterize Handle for lazy ByteString #708
yaitskov wants to merge 1 commit intohaskell:masterfrom
yaitskov:bshandle

Conversation

@yaitskov
Copy link

Handle type parameter disambiguates hGetContents behavior.

#707

@yaitskov yaitskov changed the title Paramatarize Handle for lazy ByteString Parameterize Handle for lazy ByteString Jun 30, 2025
@Bodigrim
Copy link
Contributor

Bodigrim commented Jul 9, 2025

As I commented at #707 (comment), I feel that attempts to improve resource management when using lazy I/O are largely futile.

Unfortunately, I don't see an opportunity to accept a breaking change, which replaces Handle with BSHandle. This would be the greatest breakage in 10+ years.

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.

2 participants