Skip to content

Data.Text.Show.singleton fails to CPR in GHC 9.0.1

It appears that Data.Text.Show.singleton_ fails to be recognized as possessing the CPR property in GHC 9.0. Consequently, in 9.0.1 its worker has type:

$wsingleton_ :: Char# -> Text

whereas in 8.10.4 it had type:

$wsingleton_ :: Char# -> (# GHC.Prim.ByteArray#, GHC.Prim.Int#, GHC.Prim.Int# #)

This causes the strict all_dropWhileEnd_singleton inspection-testing test of Bodigrim's branch to fail.

Edited by Ben Gamari
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information