Fix TypeOperator and strictness warnings for GHC 9.4

This commit is contained in:
Harendra Kumar 2022-08-27 00:16:43 +05:30 committed by Harendra Kumar
parent 73b15ccbde
commit 36953a1290
3 changed files with 3 additions and 1 deletions

View File

@ -47,7 +47,7 @@ import GHC.Exts
--------------------------------------------------------------------------------
-- XXX can use UnliftedNewtypes
data MutableByteArray a = MutableByteArray !(MutableByteArray# RealWorld)
data MutableByteArray a = MutableByteArray (MutableByteArray# RealWorld)
{-# INLINE getMutableByteArray# #-}
getMutableByteArray# :: MutableByteArray a -> MutableByteArray# RealWorld

View File

@ -167,6 +167,7 @@ common default-extensions
TupleSections
TypeApplications
TypeFamilies
TypeOperators
ViewPatterns
-- MonoLocalBinds, enabled by TypeFamilies, causes performance

View File

@ -273,6 +273,7 @@ common default-extensions
TupleSections
TypeApplications
TypeFamilies
TypeOperators
ViewPatterns
-- MonoLocalBinds, enabled by TypeFamilies, causes performance