streamly icon indicating copy to clipboard operation
streamly copied to clipboard

Make StreamK based types as well using MkType module

Open harendra-kumar opened this issue 5 months ago • 0 comments

  • We can move the common functionality to streamly-core, so that we can generate the types defined in streamly-core also using the same macros.
  • The Nested type in the Stream module can be generated using this with mtl instances like MonadReader, MonadState etc. we can have an option to generate mtl instances or not. In streamly-core we can omit those.
  • We can also have an option to use StreamK instead of Stream so that StreamK based Nested, FairNested types can be generated using these.

harendra-kumar avatar Jul 24 '25 04:07 harendra-kumar