streamly
streamly copied to clipboard
Make StreamK based types as well using MkType module
- 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
Nestedtype 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
StreamKinstead of Stream so that StreamK based Nested, FairNested types can be generated using these.