packages feed

fcf-family-0.2.0.1: fcf-family.cabal

cabal-version:      3.0
name:               fcf-family
version:            0.2.0.1
synopsis: Family of families: featherweight defunctionalization
description:
  Promote regular type families to first-class,
  without polluting the type namespace.

  See README.
homepage:           https://gitlab.com/lysxia/fcf-family
license:            MIT
license-file:       LICENSE
author:             Li-yao Xia
maintainer:         lysxia@gmail.com
category:           Other
build-type:         Simple
extra-doc-files:    CHANGELOG.md, README.md
tested-with: GHC == { 9.0.2, 9.2.2, 9.4.1 }

common warnings
    ghc-options: -Wall

library
    import:           warnings
    exposed-modules:
      Fcf.Family
      Fcf.Family.Meta
      Fcf.Family.TH
    build-depends:
      first-class-families,
      containers,
      template-haskell,
      base >=4.15 && < 4.20
    hs-source-dirs:   src
    default-language: Haskell2010

test-suite fcf-family-test
    import:           warnings
    default-language: Haskell2010
    type:             exitcode-stdio-1.0
    hs-source-dirs:   test
    main-is:          Main.hs
    build-depends:
        base,
        first-class-families,
        fcf-family