diff --git a/src/Streamly/Streams/Enumeration.hs b/src/Streamly/Internal/Data/Stream/Enumeration.hs similarity index 99% rename from src/Streamly/Streams/Enumeration.hs rename to src/Streamly/Internal/Data/Stream/Enumeration.hs index 425663c8e..e95977c6d 100644 --- a/src/Streamly/Streams/Enumeration.hs +++ b/src/Streamly/Internal/Data/Stream/Enumeration.hs @@ -1,7 +1,7 @@ {-# LANGUAGE CPP #-} -- | --- Module : Streamly.Streams.Enumeration +-- Module : Streamly.Internal.Data.Stream.Enumeration -- Copyright : (c) 2018 Harendra Kumar -- -- License : BSD3 @@ -22,7 +22,7 @@ -- in this module can be used to define them. Alternatively, these functions -- can be used directly. -module Streamly.Streams.Enumeration +module Streamly.Internal.Data.Stream.Enumeration ( Enumerable (..) @@ -320,7 +320,7 @@ enumerateFromThenSmallBounded from next = -- | Types that can be enumerated as a stream. The operations in this type -- class are equivalent to those in the 'Enum' type class, except that these -- generate a stream instead of a list. Use the functions in --- "Streamly.Streams.Enumeration" module to define new instances. +-- "Streamly.Internal.Data.Stream.Enumeration" module to define new instances. -- -- @since 0.6.0 class Enum a => Enumerable a where diff --git a/src/Streamly/Internal/Prelude.hs b/src/Streamly/Internal/Prelude.hs index 4c946e71a..c5d5b9587 100644 --- a/src/Streamly/Internal/Prelude.hs +++ b/src/Streamly/Internal/Prelude.hs @@ -441,7 +441,7 @@ import qualified Data.Map.Strict as Map import qualified Prelude import qualified System.IO as IO -import Streamly.Streams.Enumeration (Enumerable(..), enumerate, enumerateTo) +import Streamly.Internal.Data.Stream.Enumeration (Enumerable(..), enumerate, enumerateTo) import Streamly.Internal.Data.Fold.Types (Fold (..), Fold2 (..)) import Streamly.Internal.Data.Unfold.Types (Unfold) import Streamly.Internal.Memory.Array.Types (Array, writeNUnsafe) diff --git a/streamly.cabal b/streamly.cabal index 11ac640ac..4cda2c8bd 100644 --- a/streamly.cabal +++ b/streamly.cabal @@ -283,7 +283,7 @@ library , Streamly.Internal.Data.Stream.StreamDK.Type , Streamly.Internal.Data.Stream.StreamDK , Streamly.Internal.Data.Stream.StreamD - , Streamly.Streams.Enumeration + , Streamly.Internal.Data.Stream.Enumeration , Streamly.Streams.Prelude -- Higher level streams