deriving-trans: Derive instances for monad transformer stacks

[ bsd3, control, library ] [ Propose Tags ]

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.

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.2.0.0, 0.2.1.0, 0.2.2.0, 0.2.2.1, 0.3.0.0, 0.3.1.0, 0.3.2.0, 0.4.0.0, 0.5.0.0, 0.5.0.1 (info)
Change log CHANGELOG.md
Dependencies base (<5), monad-control, monad-control-identity, mtl, transformers, transformers-base [details]
License BSD-3-Clause
Author Felix Springer
Maintainer felixspringer149@gmail.com
Category Control
Home page https://github.com/jumper149/deriving-trans
Bug tracker https://github.com/jumper149/deriving-trans/issues
Uploaded by jumper149 at 2022-08-03T22:04:25Z
Distributions NixOS:0.5.0.1
Downloads 373 total (27 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-08-03 [all 1 reports]