bytestring-trie icon indicating copy to clipboard operation
bytestring-trie copied to clipboard

Under GHC 8, use runRW# primop

Open treeowl opened this issue 9 years ago • 1 comments
trafficstars

The UnsafeST module says it's all about working around [https://ghc.haskell.org/trac/ghc/ticket/5916]. That ticket has now been closed thanks to the new runRW# primop. You should probably use that when available. You should also be able to remove the -fno-full-laziness from things using that module.

treeowl avatar Sep 19 '16 02:09 treeowl

Note to self: runRW# appears to have been added in base-4.10.0.0 / ghc-8.2.1, and the kinding of the result type was generalized in base-4.13.0.0 / ghc-8.8.1

wrengr avatar Nov 14 '21 02:11 wrengr