cabal-version: 2.2 name: boilerplate version: 1.2.0 synopsis: FFunctor typeclass license: BSD-3-Clause author: Sam Halliday maintainer: Sam Halliday copyright: 2019 Sam Halliday bug-reports: https://gitlab.com/fommil/ffunctor/merge_requests tested-with: GHC ^>=8.4.4 || ^>=8.6.5 category: Constraints description: Micro library with a Higher Kinded Functor in the spirit of HFunctor, MFunctor and MonadTrans (which all have different kindedness). . Useful to map over the type parameter in a record of functions, e.g. https://www.benjamin.pizza/posts/2017-12-15-functor-functors.html and https://discourse.haskell.org/t/local-capabilities-with-mtl/231 and https://discourse.haskell.org/t/some-limits-of-mtl-with-records-of-functions/576 source-repository head type: git location: https://gitlab.com/fommil/ffunctor flag transformers description: Compile with transformers utilities manual: True default: True common deps build-depends: base >=4.11 && <5 ghc-options: -Wall -Werror=missing-home-modules default-language: Haskell2010 build-tool-depends: ormolu:ormolu ==0.0.3.1 library import: deps hs-source-dirs: library exposed-modules: Foo if flag(transformers) build-depends: transformers cpp-options: -DHAVE_TRANSFORMERS