on master help sign in
Rename TypeGen module to MkType
9510828Harendra Kumar
src/Streamly/Internal/Data/Stream/TypeGen.hs → src/Streamly/Internal/Data/Stream/MkType.hsrenamed+4−4
@@ -1,5 +1,5 @@
1-- |
1-- |
2−-- Module : Streamly.Internal.Data.Stream.TypeGen
2+-- Module : Streamly.Internal.Data.Stream.MkType
3-- Copyright : (c) 2022 Composewell Technologies
3-- Copyright : (c) 2022 Composewell Technologies
4-- License : BSD-3-Clause
4-- License : BSD-3-Clause
5-- Maintainer : streamly@composewell.com
5-- Maintainer : streamly@composewell.com
@@ -16,7 +16,7 @@
16--
16--
17-- >>> import Control.Monad.Reader.Class (MonadReader(..))
17-- >>> import Control.Monad.Reader.Class (MonadReader(..))
18-- >>> import qualified Streamly.Data.Stream.Prelude as Stream
18-- >>> import qualified Streamly.Data.Stream.Prelude as Stream
19−-- >>> import Streamly.Internal.Data.Stream.TypeGen
19+-- >>> import Streamly.Internal.Data.Stream.MkType
20--
20--
21-- Instead of using these macros directly you could use the generated code as
21-- Instead of using these macros directly you could use the generated code as
22-- well. Use these macros in ghci to generate the required code and paste it in
22-- well. Use these macros in ghci to generate the required code and paste it in
@@ -55,7 +55,7 @@
55--
55--
56-- > $(mkCrossType "ParEagerStream" "parBind" True)
56-- > $(mkCrossType "ParEagerStream" "parBind" True)
57--
57--
58−module Streamly.Internal.Data.Stream.TypeGen
58+module Streamly.Internal.Data.Stream.MkType
59 (
59 (
60 -- * Imports for Examples
60 -- * Imports for Examples
61 -- $setup
61 -- $setup
@@ -93,7 +93,7 @@ import Prelude hiding (repeat)
93-- >>> import Language.Haskell.TH
93-- >>> import Language.Haskell.TH
94-- >>> import Control.Monad.Reader.Class (MonadReader(..))
94-- >>> import Control.Monad.Reader.Class (MonadReader(..))
95-- >>> import qualified Streamly.Data.Stream.Prelude as Stream
95-- >>> import qualified Streamly.Data.Stream.Prelude as Stream
96−-- >>> import Streamly.Internal.Data.Stream.TypeGen
96+-- >>> import Streamly.Internal.Data.Stream.MkType
97
97
98--------------------------------------------------------------------------------
98--------------------------------------------------------------------------------
99-- Helpers
99-- Helpers
streamly.cabal+1−1
@@ -343,7 +343,7 @@ library
343
343
344 Streamly.Internal.Data.IsMap.HashMap
344 Streamly.Internal.Data.IsMap.HashMap
345 , Streamly.Internal.Data.Cont
345 , Streamly.Internal.Data.Cont
346− , Streamly.Internal.Data.Stream.TypeGen
346+ , Streamly.Internal.Data.Stream.MkType
347
347
348 -- streamly-concurrent
348 -- streamly-concurrent
349 , Streamly.Internal.Control.Concurrent
349 , Streamly.Internal.Control.Concurrent