on master help sign in
Mv Streams/Enumeration.hs to Internal/Data/Stream
f1bef86adithyaov
src/Streamly/Streams/Enumeration.hs → src/Streamly/Internal/Data/Stream/Enumeration.hsrenamed+3−3
@@ -1,7 +1,7 @@
1{-# LANGUAGE CPP #-}
1{-# LANGUAGE CPP #-}
2
2
3-- |
3-- |
4−-- Module : Streamly.Streams.Enumeration
4+-- Module : Streamly.Internal.Data.Stream.Enumeration
5-- Copyright : (c) 2018 Harendra Kumar
5-- Copyright : (c) 2018 Harendra Kumar
6--
6--
7-- License : BSD3
7-- License : BSD3
@@ -22,7 +22,7 @@
22-- in this module can be used to define them. Alternatively, these functions
22-- in this module can be used to define them. Alternatively, these functions
23-- can be used directly.
23-- can be used directly.
24
24
25−module Streamly.Streams.Enumeration
25+module Streamly.Internal.Data.Stream.Enumeration
26 (
26 (
27 Enumerable (..)
27 Enumerable (..)
28
28
@@ -320,7 +320,7 @@ enumerateFromThenSmallBounded from next =
320-- | Types that can be enumerated as a stream. The operations in this type
320-- | Types that can be enumerated as a stream. The operations in this type
321-- class are equivalent to those in the 'Enum' type class, except that these
321-- class are equivalent to those in the 'Enum' type class, except that these
322-- generate a stream instead of a list. Use the functions in
322-- generate a stream instead of a list. Use the functions in
323−-- "Streamly.Streams.Enumeration" module to define new instances.
323+-- "Streamly.Internal.Data.Stream.Enumeration" module to define new instances.
324--
324--
325-- @since 0.6.0
325-- @since 0.6.0
326class Enum a => Enumerable a where
326class Enum a => Enumerable a where
src/Streamly/Internal/Prelude.hs+1−1
@@ -441,7 +441,7 @@ import qualified Data.Map.Strict as Map
441import qualified Prelude
441import qualified Prelude
442import qualified System.IO as IO
442import qualified System.IO as IO
443
443
444−import Streamly.Streams.Enumeration (Enumerable(..), enumerate, enumerateTo)
444+import Streamly.Internal.Data.Stream.Enumeration (Enumerable(..), enumerate, enumerateTo)
445import Streamly.Internal.Data.Fold.Types (Fold (..), Fold2 (..))
445import Streamly.Internal.Data.Fold.Types (Fold (..), Fold2 (..))
446import Streamly.Internal.Data.Unfold.Types (Unfold)
446import Streamly.Internal.Data.Unfold.Types (Unfold)
447import Streamly.Internal.Memory.Array.Types (Array, writeNUnsafe)
447import Streamly.Internal.Memory.Array.Types (Array, writeNUnsafe)
streamly.cabal+1−1
@@ -283,7 +283,7 @@ library
283 , Streamly.Internal.Data.Stream.StreamDK.Type
283 , Streamly.Internal.Data.Stream.StreamDK.Type
284 , Streamly.Internal.Data.Stream.StreamDK
284 , Streamly.Internal.Data.Stream.StreamDK
285 , Streamly.Internal.Data.Stream.StreamD
285 , Streamly.Internal.Data.Stream.StreamD
286− , Streamly.Streams.Enumeration
286+ , Streamly.Internal.Data.Stream.Enumeration
287 , Streamly.Streams.Prelude
287 , Streamly.Streams.Prelude
288
288
289 -- Higher level streams
289 -- Higher level streams