Mv Streams/Enumeration.hs to Internal/Data/Stream

This commit is contained in:
adithyaov 2019-12-09 15:44:00 +05:30
parent 2fe5140423
commit f1bef8669c
3 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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)

View File

@ -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