packages feed

recursion-2.2.4.1: recursion.cabal

cabal-version:      1.18
name:               recursion
version:            2.2.4.1
license:            BSD3
license-file:       LICENSE
copyright:          Copyright: (c) 2018-2019 Vanessa McHale
maintainer:         vamchale@gmail.com
author:             Vanessa McHale
bug-reports:        https://hub.darcs.net/vmchale/recursion/issues
synopsis:           A recursion schemes library for Haskell.
description:
    A performant recursion schemes library for Haskell with minimal dependencies

category:           Control, Recursion
build-type:         Simple
extra-source-files: cabal.project
extra-doc-files:
    README.md
    CHANGELOG.md

source-repository head
    type:     darcs
    location: https://hub.darcs.net/vmchale/recursion

flag development
    description: Enable `-Werror`
    default:     False
    manual:      True

library
    exposed-modules:  Control.Recursion
    hs-source-dirs:   src
    default-language: Haskell2010
    other-extensions:
        DeriveFunctor FlexibleContexts ExistentialQuantification RankNTypes
        TypeFamilies DeriveFoldable DeriveTraversable DefaultSignatures
        TypeOperators MultiParamTypeClasses

    ghc-options:      -Wall
    build-depends:
        base >=4.9 && <5,
        composition-prelude -any

    if !impl(eta -any)
        exposed-modules: Control.Recursion.GHC

    if (flag(development) && !impl(ghc >=8.8))
        ghc-options: -Werror

    if impl(ghc >=8.0)
        ghc-options:
            -Wincomplete-uni-patterns -Wincomplete-record-updates
            -Wredundant-constraints -Wnoncanonical-monad-instances

    if impl(ghc >=8.4)
        ghc-options: -Wmissing-export-lists