cabal-version: 1.12

name:           functor-products
version:        0.1.2.0
synopsis:       General functor products for various Foldable instances
description:    Generalizes the Rec type in vinyl to work over various different Foldable
                instances, instead of just lists.  Provides a unifying abstraction for all
                of them, as well as data types to index into them.
category:       Data
homepage:       https://github.com/mstksg/functor-products#readme
bug-reports:    https://github.com/mstksg/functor-products/issues
author:         Justin Le
maintainer:     justin@jle.im
copyright:      (c) Justin Le 2023
license:        BSD3
license-file:   LICENSE
build-type:     Simple
tested-with:
    GHC >= 9.2
extra-source-files:
    README.md
    CHANGELOG.md

source-repository head
  type: git
  location: https://github.com/mstksg/functor-products

library
  exposed-modules:
      Data.Type.Functor.Product
      Data.Type.Functor.XProduct
  other-modules:
      Paths_functor_products
  hs-source-dirs:
      src
  ghc-options: -Wall -Wcompat -Wredundant-constraints -Wwarn=incomplete-patterns
  build-depends:
      base >=4.16 && <5,
      microlens           < 0.5,
      singletons          >= 3.0 && < 3.1,
      singletons-base     < 3.2,
      text                < 1.3,
      vinyl               < 0.15
  default-language: Haskell2010