cabal-version: 3.0
name: deriving-via-fun
version: 0.1.0.0
synopsis: Deriving via first-class functions
description:
Derive class instances by mapping over them
like they are functors.
license: BSD-3-Clause
license-file: LICENSE
author: Li-yao Xia
maintainer: lysxia@gmail.com
copyright: 2025 Li-yao Xia
category: Development
build-type: Simple
extra-doc-files: README.md, CHANGELOG.md
tested-with: GHC == 9.8.4, GHC == 9.12.2
source-repository head
type: git
location: https://gitlab.com/lysxia/deriving-via-fun
common warnings
ghc-options: -Wall
library
import: warnings
exposed-modules:
DerivingViaFun
build-depends: base >=4.19 && < 4.22
hs-source-dirs: src
default-language: Haskell2010
test-suite deriving-via-fun-test
import: warnings
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
build-depends:
base,
deriving-via-fun