packages feed

circular-enum-0.2.0.0: circular-enum.cabal

cabal-version:    3.0
name:             circular-enum
version:          0.2.0.0
synopsis:         Make bounded enum types circular
description:      Circular successor & predecessor for bounded enum types
homepage:         https://github.com/memowe/circular-enum
bug-reports:      https://github.com/memowe/circular-enum/issues
license:          MIT
license-file:     LICENSE
author:           Mirko Westermeier
maintainer:       mirko@westermeier.de
copyright:        (c) 2023-2026 Mirko Westermeier
category:         Data
build-type:       Simple
extra-doc-files:  CHANGELOG.md
source-repository head
    type:       git
    branch:     main
    location:   https://github.com/memowe/circular-enum.git

common warnings
    ghc-options: -Wall

library
    import:             warnings
    exposed-modules:    Data.Enum.Circular
    build-depends:      base >=4.14.0.0 && < 5
    hs-source-dirs:     src
    default-language:   Haskell2010
    default-extensions: InstanceSigs
                      , ScopedTypeVariables

test-suite circular-enum-test
    import:           warnings
    default-language: Haskell2010
    ghc-options:      -Wno-orphans
    type:             exitcode-stdio-1.0
    hs-source-dirs:   test
    main-is:          Main.hs
    build-depends:    base >=4.14.0.0
                    , circular-enum
                    , hspec >= 2.10 && < 3
                    , QuickCheck