on master help sign in
remove Streamly.Internal module
6ae0ed0Harendra Kumar
src/Streamly/Internal.hsdeleted−26
@@ -1,26 +0,0 @@
1−-- |
2−-- Module : Streamly.Internal
3−-- Copyright : (c) 2018 Harendra Kumar
4−--
5−-- License : BSD3
6−-- Maintainer : harendra.kumar@gmail.com
7−-- Stability : experimental
8−-- Portability : GHC
9−--
10−-- This module is only for internal or experimental APIs. The constructors and
11−-- routines exposed through this module are likely to change or to be removed
12−-- at any time in future without notice. There is no warranty for the routines
13−-- in this module to work correctly, please use at your own risk.
14−--
15−-- If you think some of the routines exported through this module should be
16−-- included in the officially supported modules please raise an issue at
17−-- https://github.com/composewell/streamly/issues .
18−--
19−module Streamly.Internal
20− (
21− -- * Diagnostics
22− inspectMode
23− )
24−where
25−
26−import Streamly.Streams.Combinators (inspectMode)
src/Streamly/Internal/Prelude.hs+4−1
@@ -365,6 +365,9 @@ module Streamly.Internal.Prelude
365 , finally
365 , finally
366 , handle
366 , handle
367
367
368+ -- * Diagnostics
369+ , inspectMode
370+
368 -- * Deprecated
371 -- * Deprecated
369 , K.once
372 , K.once
370 , each
373 , each
@@ -409,7 +412,7 @@ import Streamly.Internal.Memory.Array.Types (Array, writeNUnsafe)
409-- import Streamly.Memory.Ring (Ring)
412-- import Streamly.Memory.Ring (Ring)
410import Streamly.Internal.Data.SVar (MonadAsync, defState)
413import Streamly.Internal.Data.SVar (MonadAsync, defState)
411import Streamly.Streams.Async (mkAsync')
414import Streamly.Streams.Async (mkAsync')
412−import Streamly.Streams.Combinators (maxYields)
415+import Streamly.Streams.Combinators (inspectMode, maxYields)
413import Streamly.Streams.Prelude
416import Streamly.Streams.Prelude
414 (fromStreamS, toStreamS, foldWith, foldMapWith, forEachWith)
417 (fromStreamS, toStreamS, foldWith, foldMapWith, forEachWith)
415import Streamly.Streams.StreamD (fromStreamD, toStreamD)
418import Streamly.Streams.StreamD (fromStreamD, toStreamD)
streamly.cabal−1
@@ -292,7 +292,6 @@ library
292 , Streamly.Tutorial
292 , Streamly.Tutorial
293
293
294 -- Internal modules
294 -- Internal modules
295− , Streamly.Internal
296 , Streamly.Internal.Data.Strict
295 , Streamly.Internal.Data.Strict
297 , Streamly.Internal.Data.Atomics
296 , Streamly.Internal.Data.Atomics
298 , Streamly.Internal.Data.Time
297 , Streamly.Internal.Data.Time