packages feed

deriving-trans-0.2.0.0: deriving-trans.cabal

cabal-version:       3.0
name:                deriving-trans
version:             0.2.0.0
synopsis:            Derive monad type classes with DerivingVia
description:         Deriving type class instances for monad transformer stacks can be tedious.
                     By actually composing transformers with `ComposeT` we don't need to implement
                     each type class for each transformer.
                     Instead we need a single instance for `Elevator`, which will then help us pick
                     the correct instance with DerivingVia.
license:             BSD-3-Clause
license-file:        LICENSE
author:              Felix Springer
maintainer:          felixspringer149@gmail.com
homepage:            https://github.com/jumper149/deriving-trans
bug-reports:         https://github.com/jumper149/deriving-trans/issues
category:            Control
build-type:          Simple
extra-source-files:  CHANGELOG.md

library
  exposed-modules:
    Control.Monad.Trans.Compose
    Control.Monad.Trans.Elevator
  --other-modules:
  build-depends:
    , base              >= 4.5     && < 5
    , lifted-base       >= 0.2.3.2 && < 0.2.4
    , monad-control     >= 1.0.2.0 && < 1.1
    , mtl               >= 2.2.2   && < 2.3
    , transformers      >= 0.5.6.2 && < 0.5.7
    , transformers-base >= 0.4.5.2 && < 0.5
  hs-source-dirs: src
  default-language: Haskell2010
  default-extensions:
    BangPatterns
    ConstraintKinds
    DataKinds
    DeriveFoldable
    DeriveFunctor
    DeriveGeneric
    DeriveTraversable
    DerivingStrategies
    DerivingVia
    EmptyDataDeriving
    FlexibleContexts
    FlexibleInstances
    FunctionalDependencies
    GeneralizedNewtypeDeriving
    MultiParamTypeClasses
    NamedFieldPuns
    OverloadedStrings
    RankNTypes
    StandaloneDeriving
    TypeApplications
    TypeFamilies
  ghc-options: -Wall