Description
Derive instances for monad transformer stacks.
Description
Implementing instances for monad transformer stacks can be tedious. mtl defines each instance for each transfomer, but this can be avoided.
Elevator
let's you access instances of the underlying monad of a transformer. Composing transformers with ComposeT
brings instances into scope during the initialization of a transformer stack.
Elevator
can be used with DerivingVia to select a specific transformer to derive instances for a transformer stack. ComposeT
composes transformers and accumulates instances in a transformer stack.