Store a `State# RealWorld` in the ByteString
Open
- Dominant language
- Haskell
- Stars
- 301
- Forks
- 144
- Avg merge
- 7d 22h
- Merged PRs (30d)
- 1
Description
This allows passing the state thread used to initialize the ByteString’s pointer to the functions that access that pointer. As a result, `deferForeignPtrAvailability` can be removed, and most or all uses of `accursedUnutterablePerformIO` can be replaced with a safer function that takes a `State# RealWorld` argument.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.