@@ -16,7 +16,13 @@
1616-- Portability : GHC
1717--
1818module Streamly.Internal.Data.Prim.Array
19− ( PrimArray(..)
19+ (
20+
21+ -- XXX should it be just Array instead? We should be able to replace one
22+ -- array type with another easily.
23+ PrimArray(..)
24+
25+ -- XXX Prim should be exported from Data.Prim module?
2026 , Prim(..)
2127
2228 , foldl'
@@ -53,9 +59,10 @@ import Control.DeepSeq (NFData(..))
5359import Control.Monad (when)
5460import Control.Monad.IO.Class (liftIO, MonadIO)
5561import GHC.IO (unsafePerformIO)
56−import Data.Primitive.PrimArray
5762import Data.Primitive.Types (Prim(..))
5863
64+import Data.Primitive.PrimArray
65+
5966import Streamly.Internal.Data.Unfold.Types (Unfold(..))
6067import Streamly.Internal.Data.Fold.Types (Fold(..))
6168import Streamly.Internal.Data.Stream.StreamK.Type (IsStream)