on master help sign in
Rename TypeGen module to MkType
commit9510828ae7921fa67a62cdd32578044f965b88ff authorHarendra Kumar <harendra@composewell.com> dateFri 6 Jan 2023, 12:04 (4 years ago) parent282ed60
2 files changed+5−5
src/Streamly/Internal/Data/Stream/TypeGen.hs → src/Streamly/Internal/Data/Stream/MkType.hs+4−4 streamly.cabal+1−1
src/Streamly/Internal/Data/Stream/TypeGen.hs → src/Streamly/Internal/Data/Stream/MkType.hsrenamed+4−4
@@ -1,5 +1,5 @@
11-- |
2−-- Module : Streamly.Internal.Data.Stream.TypeGen
2+-- Module : Streamly.Internal.Data.Stream.MkType
33-- Copyright : (c) 2022 Composewell Technologies
44-- License : BSD-3-Clause
55-- Maintainer : streamly@composewell.com
@@ -16,7 +16,7 @@
1616--
1717-- >>> import Control.Monad.Reader.Class (MonadReader(..))
1818-- >>> import qualified Streamly.Data.Stream.Prelude as Stream
19−-- >>> import Streamly.Internal.Data.Stream.TypeGen
19+-- >>> import Streamly.Internal.Data.Stream.MkType
2020--
2121-- Instead of using these macros directly you could use the generated code as
2222-- well. Use these macros in ghci to generate the required code and paste it in
@@ -55,7 +55,7 @@
5555--
5656-- > $(mkCrossType "ParEagerStream" "parBind" True)
5757--
58−module Streamly.Internal.Data.Stream.TypeGen
58+module Streamly.Internal.Data.Stream.MkType
5959 (
6060 -- * Imports for Examples
6161 -- $setup
@@ -93,7 +93,7 @@ import Prelude hiding (repeat)
9393-- >>> import Language.Haskell.TH
9494-- >>> import Control.Monad.Reader.Class (MonadReader(..))
9595-- >>> import qualified Streamly.Data.Stream.Prelude as Stream
96−-- >>> import Streamly.Internal.Data.Stream.TypeGen
96+-- >>> import Streamly.Internal.Data.Stream.MkType
9797
9898--------------------------------------------------------------------------------
9999-- Helpers
streamly.cabal+1−1
@@ -343,7 +343,7 @@ library
343343
344344 Streamly.Internal.Data.IsMap.HashMap
345345 , Streamly.Internal.Data.Cont
346− , Streamly.Internal.Data.Stream.TypeGen
346+ , Streamly.Internal.Data.Stream.MkType
347347
348348 -- streamly-concurrent
349349 , Streamly.Internal.Control.Concurrent