on master help sign in
Remove qualified exports from IsStream
19db3e2Harendra Kumar
src/Streamly/Internal/Data/Stream/IsStream.hs+18−24
@@ -6,7 +6,7 @@
6-- Stability : experimental
6-- Stability : experimental
7-- Portability : GHC
7-- Portability : GHC
8--
8--
9−-- This is an internal module which is superset of the corresponding released
9+-- This is an internal module which is a superset of the corresponding released
10-- module "Streamly.Prelude". It contains some additional unreleased or
10-- module "Streamly.Prelude". It contains some additional unreleased or
11-- experimental APIs.
11-- experimental APIs.
12
12
@@ -56,10 +56,10 @@ module Streamly.Internal.Data.Stream.IsStream
56
56
57 -- * Construction
57 -- * Construction
58 -- ** Primitives
58 -- ** Primitives
59− , K.nil
59+ , nil
60− , K.nilM
60+ , nilM
61− , K.cons
61+ , cons
62− , (K..:)
62+ , (.:)
63
63
64 , consM
64 , consM
65 , (|:)
65 , (|:)
@@ -99,12 +99,12 @@ module Streamly.Internal.Data.Stream.IsStream
99 , iterateM
99 , iterateM
100
100
101 -- ** Cyclic Elements
101 -- ** Cyclic Elements
102− , K.mfix
102+ , mfix
103
103
104 -- ** From Containers
104 -- ** From Containers
105 , fromList
105 , fromList
106 , fromListM
106 , fromListM
107− , K.fromFoldable
107+ , fromFoldable
108 , fromFoldableM
108 , fromFoldableM
109 , fromPrimIORef
109 , fromPrimIORef
110 , fromCallback
110 , fromCallback
@@ -228,7 +228,7 @@ module Streamly.Internal.Data.Stream.IsStream
228 , transform
228 , transform
229
229
230 -- ** Mapping
230 -- ** Mapping
231− , Serial.map
231+ , map
232 , sequence
232 , sequence
233 , mapM
233 , mapM
234 , smapM
234 , smapM
@@ -274,7 +274,7 @@ module Streamly.Internal.Data.Stream.IsStream
274 -- , lprescanlM'
274 -- , lprescanlM'
275
275
276 -- ** Concurrent Transformation
276 -- ** Concurrent Transformation
277− , D.mkParallel
277+ , mkParallel
278 -- Par.mkParallel
278 -- Par.mkParallel
279 , applyAsync
279 , applyAsync
280 , (|$)
280 , (|$)
@@ -466,8 +466,8 @@ module Streamly.Internal.Data.Stream.IsStream
466 , interleaveInfix
466 , interleaveInfix
467
467
468 , wSerial
468 , wSerial
469− , Serial.wSerialFst
469+ , wSerialFst
470− , Serial.wSerialMin
470+ , wSerialMin
471
471
472 -- ** Scheduling
472 -- ** Scheduling
473 , ahead
473 , ahead
@@ -477,8 +477,8 @@ module Streamly.Internal.Data.Stream.IsStream
477
477
478 -- ** Parallel
478 -- ** Parallel
479 , parallel
479 , parallel
480− , Par.parallelFst
480+ , parallelFst
481− , Par.parallelMin
481+ , parallelMin
482
482
483 -- ** Merging
483 -- ** Merging
484 -- , merge
484 -- , merge
@@ -488,10 +488,10 @@ module Streamly.Internal.Data.Stream.IsStream
488 , mergeAsyncByM
488 , mergeAsyncByM
489
489
490 -- ** Zipping
490 -- ** Zipping
491− , Z.zipWith
491+ , zipWith
492− , Z.zipWithM
492+ , zipWithM
493− , Z.zipAsyncWith
493+ , zipAsyncWith
494− , Z.zipAsyncWithM
494+ , zipAsyncWithM
495
495
496 -- ** Flattening a Container of Streams
496 -- ** Flattening a Container of Streams
497 , concatFoldableWith
497 , concatFoldableWith
@@ -577,7 +577,7 @@ module Streamly.Internal.Data.Stream.IsStream
577 , inspectMode
577 , inspectMode
578
578
579 -- * Deprecated
579 -- * Deprecated
580− , K.once
580+ , once
581 , each
581 , each
582 , scanx
582 , scanx
583 , foldx
583 , foldx
@@ -591,12 +591,6 @@ module Streamly.Internal.Data.Stream.IsStream
591 )
591 )
592where
592where
593
593
594−import qualified Streamly.Internal.Data.Stream.Parallel as Par
595−import qualified Streamly.Internal.Data.Stream.StreamD as D
596−import qualified Streamly.Internal.Data.Stream.StreamK as K
597−import qualified Streamly.Internal.Data.Stream.Serial as Serial
598−import qualified Streamly.Internal.Data.Stream.Zip as Z
599−
600import Streamly.Internal.Data.Stream.IsStream.Eliminate
594import Streamly.Internal.Data.Stream.IsStream.Eliminate
601import Streamly.Internal.Data.Stream.IsStream.Exception
595import Streamly.Internal.Data.Stream.IsStream.Exception
602import Streamly.Internal.Data.Stream.IsStream.Generate
596import Streamly.Internal.Data.Stream.IsStream.Generate
src/Streamly/Internal/Data/Stream/IsStream/Generate.hs+1
@@ -79,6 +79,7 @@ module Streamly.Internal.Data.Stream.IsStream.Generate
79 , fromCallback
79 , fromCallback
80
80
81 -- * Deprecated
81 -- * Deprecated
82+ , K.once
82 , each
83 , each
83 , fromHandle
84 , fromHandle
84 , currentTime
85 , currentTime