Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make Data.ByteString.Short work on several ghc versions
Older GHC do not keep the length of the ByteArray# in a useful way so we have to store it separately. Adjust the implementations to use primop wrappers with ST or IO rather than direct primops and State#. Check core for the important functions and made a few adjustments.
- Loading branch information