What is a semi-closed handle?

The Haskell documentation mentions a semi-closed handle multiple times in the System.IO section. I’m wondering what this is/means.

https://hackage.haskell.org/package/base-4.21.0.0/docs/System-IO.html#g:9

The documentation for hGetContents, which I think is the only function that puts a user-provided Handle in the semi-closed state, describes how a Handle behaves in that state.

1 Like

Exactly what I needed. Thanks!

1 Like