@@ -1,21 +1,14 @@
1−{-# OPTIONS_GHC -Wno-orphans #-}
2−
3−#include "inline.hs"
4−
51-- |
62-- Module : Streamly.Internal.Data.Stream.IsStream
73-- Copyright : (c) 2017 Composewell Technologies
8−--
9−-- License : BSD3
4+-- License : BSD-3-Clause
105-- Maintainer : streamly@composewell.com
116-- Stability : experimental
127-- Portability : GHC
138--
14−-- This is an Internal module consisting of released, unreleased and
15−-- unimplemented APIs. For stable and released APIs please see
16−-- "Streamly.Prelude" module. This module provides documentation only for the
17−-- unreleased and unimplemented APIs. For documentation on released APIs please
18−-- see "Streamly.Prelude" module.
9+-- This is an internal module which is superset of the corresponding released
10+-- module "Streamly.Prelude". It contains some additional unreleased or
11+-- experimental APIs.
1912
2013module Streamly.Internal.Data.Stream.IsStream
2114 (
@@ -598,36 +591,25 @@ module Streamly.Internal.Data.Stream.IsStream
598591 )
599592where
600593
601−import Streamly.Internal.Data.SVar (MonadAsync, Rate (..))
602−import Streamly.Internal.Data.Stream.Ahead (AheadT, Ahead, aheadly)
603−import Streamly.Internal.Data.Stream.Async
604− ( AsyncT, Async, WAsyncT, WAsync, mkAsync, asyncly
605− , wAsyncly)
594+import Streamly.Internal.Data.SVar (Rate (..))
606595import Streamly.Internal.Data.Stream.Combinators
607596 ( inspectMode, maxBuffer, maxThreads, rate, avgRate, minRate
608597 , maxRate, constRate)
609−import Streamly.Internal.Data.Stream.Parallel
610− ( ParallelT, Parallel, parallely)
611−import Streamly.Internal.Data.Stream.StreamK (IsStream(), adapt)
612−import Streamly.Internal.Data.Stream.Serial
613− ( SerialT, WSerialT, Serial, WSerial, serially
614− , wSerially)
615−import Streamly.Internal.Data.Stream.Zip
616− ( ZipSerialM, ZipSerial, ZipAsyncM, ZipAsync, zipSerially, zipAsyncly)
617598
599+import qualified Streamly.Internal.Data.Stream.Parallel as Par
618600import qualified Streamly.Internal.Data.Stream.Prelude as P
619−import qualified Streamly.Internal.Data.Stream.StreamK as K
620601import qualified Streamly.Internal.Data.Stream.StreamD as D
602+import qualified Streamly.Internal.Data.Stream.StreamK as K
621603import qualified Streamly.Internal.Data.Stream.Serial as Serial
622−import qualified Streamly.Internal.Data.Stream.Parallel as Par
623604import qualified Streamly.Internal.Data.Stream.Zip as Z
624605
625−import Streamly.Internal.Data.Stream.IsStream.Generate
626606import Streamly.Internal.Data.Stream.IsStream.Eliminate
627−import Streamly.Internal.Data.Stream.IsStream.Transform
628−import Streamly.Internal.Data.Stream.IsStream.Nesting
629607import Streamly.Internal.Data.Stream.IsStream.Exception
608+import Streamly.Internal.Data.Stream.IsStream.Generate
630609import Streamly.Internal.Data.Stream.IsStream.Lift
610+import Streamly.Internal.Data.Stream.IsStream.Nesting
611+import Streamly.Internal.Data.Stream.IsStream.Transform
612+import Streamly.Internal.Data.Stream.IsStream.Types
631613
632614import Prelude hiding
633615 ( filter, drop, dropWhile, take, takeWhile, zipWith, foldr