packages feed

matchable-th-0.2.1: matchable-th.cabal

name:                matchable-th
version:             0.2.1
synopsis:            Generates Matchable instances using TemplateHaskell
description:         This package provides TemplateHaskell function to generate
                     instances of @Matchable@ and @Bimatchable@ type classes,
                     which are from "matchable" package.
license:             BSD3
license-file:        LICENSE
author:              Koji Miyazato
maintainer:          viercc@gmail.com
category:            Functors
build-type:          Simple
extra-source-files:  README.md
extra-doc-files:     CHANGELOG.md
cabal-version:       2.0
tested-with:         GHC ==9.2.8, GHC ==9.4.8, GHC ==9.6.6, GHC ==9.8.2, GHC ==9.10.1

source-repository head
  type:     git
  location: https://github.com/viercc/matchable
  branch:   master

library
  hs-source-dirs:       src
  exposed-modules:      Data.Matchable.TH
  other-modules:        Data.Matchable.TH.Matcher
  build-depends:        base               >= 4.10       && <5,
                        matchable          >= 0.1.2,
                        bifunctors         >= 5.1,
                        template-haskell   >= 2.4 && < 2.24,
                        th-abstraction     >= 0.4.0.0
  ghc-options:          -Wall
  default-language:     Haskell2010

test-suite matchable-th-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             th.hs
  build-depends:       base, containers, matchable, matchable-th
  default-language:    Haskell2010