Skip to content

This package provides the ability to join up or wire instances of types (such as ReaderT/WriterT/RWST) with some semi-automatic conversions.

License

Notifications You must be signed in to change notification settings

seanparsons/wiring

Repository files navigation

Gluing together your ReaderT/WriterT/StateT/RWSTs.

Build Status

Using the above monad transformers can be difficult when the need to compose them arises, as a ReaderT with an environment of Network.HTTP.Client.Manager doesn't line up correctly with a ReaderT with an environment of Database.PostgreSQL.Simple.Connection.

The solution is to transform those instances of ReaderT where the environment is a superset of both of those environments and this package provides methods to do exactly that.

About

This package provides the ability to join up or wire instances of types (such as ReaderT/WriterT/RWST) with some semi-automatic conversions.

Resources

License

Stars

Watchers

Forks

Packages

No packages published