@@ -59,6 +59,7 @@ import qualified Streamly.Internal as Internal
59import qualified Streamly.Streams.StreamD as D
59import qualified Streamly.Streams.StreamD as D
61#ifdef INSPECTION
61#ifdef INSPECTION
62+import Foreign.Storable (Storable)
62import Streamly.Streams.StreamD.Type (Step(..), GroupState)
63import Streamly.Streams.StreamD.Type (Step(..), GroupState)
63import Test.Inspection
64import Test.Inspection
@@ -233,6 +234,7 @@ inspect $ 'chunksOfD `hasNoType` ''AT.FlattenState
233inspect $ 'chunksOfD `hasNoType` ''D.ConcatMapUState
234inspect $ 'chunksOfD `hasNoType` ''D.ConcatMapUState
237+-- XXX splitSuffixOn requires -funfolding-use-threshold=150 for better fusion
236-- | Lines and unlines
238-- | Lines and unlines
237{-# INLINE linesUnlinesCopy #-}
239{-# INLINE linesUnlinesCopy #-}
238linesUnlinesCopy :: Handle -> Handle -> IO ()
240linesUnlinesCopy :: Handle -> Handle -> IO ()
@@ -245,7 +247,7 @@ linesUnlinesCopy inh outh =
245 $ FH.read inh
247 $ FH.read inh
247#ifdef INSPECTION
249#ifdef INSPECTION
248−-- inspect $ hasNoTypeClasses 'linesUnlinesCopy
250+inspect $ hasNoTypeClassesExcept 'linesUnlinesCopy [''Storable]
249-- inspect $ 'linesUnlinesCopy `hasNoType` ''Step
251-- inspect $ 'linesUnlinesCopy `hasNoType` ''Step
250-- inspect $ 'linesUnlinesCopy `hasNoType` ''AT.FlattenState
252-- inspect $ 'linesUnlinesCopy `hasNoType` ''AT.FlattenState
251-- inspect $ 'linesUnlinesCopy `hasNoType` ''D.ConcatMapUState
253-- inspect $ 'linesUnlinesCopy `hasNoType` ''D.ConcatMapUState