packages feed

homotuple-0.2.1.0: homotuple.cabal

cabal-version: 2.2

name:           homotuple
version:        0.2.1.0
synopsis:       Homotuple, all whose elements are the same type
description:    Homotuple, all whose elements are the same type
category:       Data
homepage:       https://github.com/kakkun61/tuple
bug-reports:    https://github.com/kakkun61/tuple/issues
author:         Kazuki Okamoto
maintainer:     kazuki.okamoto@kakkun61.com
copyright:      2019 Kazuki Okamoto
license:        Apache-2.0
license-file:   LICENSE
build-type:     Custom

extra-doc-files:
    README.md
    ChangeLog.md

extra-source-files:
    template/Homotuple.hs
    template/HomotupleItem.hs

source-repository head
  type: git
  location: https://github.com/kakkun61/homotuple

custom-setup
  setup-depends:
      Cabal >=2 && <4,
      base >=4.10 && <5,
      directory >=1.3 && <1.4

library
  exposed-modules:      Data.Tuple.Homotuple
                        Data.Tuple.Homotuple.Identity
                        Data.Tuple.Homotuple.OneTuple
                        Data.Tuple.Homotuple.Only
  autogen-modules:      Data.Tuple.Homotuple
  hs-source-dirs:       src
  ghc-options:          -Wall
                        -Wcompat
                        -Wincomplete-uni-patterns
                        -Wincomplete-record-updates
                        -Wmonomorphism-restriction
                        -Wmissing-exported-signatures
                        -Wmissing-home-modules
                        -Wmissing-import-lists
                        -Widentities
                        -Wredundant-constraints
                        -Wno-name-shadowing
  build-depends:        base >=4.10 && <5,
                        OneTuple >=0.2 && <0.5,
                        Only >=0.1 && <0.2,
                        single-tuple >=0.1 && <0.2
  if impl(ghc >= 8.4.0)
    ghc-options:        -Wmissing-export-lists
                        -Wpartial-fields
  if impl(ghc >= 8.6.0)
    default-extensions: NoStarIsType
  default-language:     Haskell2010