mirror of
https://github.com/composewell/streamly.git
synced 2024-08-16 23:10:36 +03:00
Fix TypeOperator and strictness warnings for GHC 9.4
This commit is contained in:
parent
73b15ccbde
commit
36953a1290
@ -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
|
||||
|
@ -167,6 +167,7 @@ common default-extensions
|
||||
TupleSections
|
||||
TypeApplications
|
||||
TypeFamilies
|
||||
TypeOperators
|
||||
ViewPatterns
|
||||
|
||||
-- MonoLocalBinds, enabled by TypeFamilies, causes performance
|
||||
|
@ -273,6 +273,7 @@ common default-extensions
|
||||
TupleSections
|
||||
TypeApplications
|
||||
TypeFamilies
|
||||
TypeOperators
|
||||
ViewPatterns
|
||||
|
||||
-- MonoLocalBinds, enabled by TypeFamilies, causes performance
|
||||
|
Loading…
Reference in New Issue
Block a user