File extra.cabal of Package ghc-extra

cabal-version:      1.18
build-type:         Simple
name:               extra
version:            1.7.16
x-revision: 1
license:            BSD3
license-file:       LICENSE
category:           Development
author:             Neil Mitchell <ndmitchell@gmail.com>
maintainer:         Neil Mitchell <ndmitchell@gmail.com>
copyright:          Neil Mitchell 2014-2024
synopsis:           Extra functions I use.
description:
    A library of extra functions for the standard Haskell libraries. Most functions are simple additions, filling out missing functionality. A few functions are available in later versions of GHC, but this package makes them available back to GHC 7.2.
    .
    The module "Extra" documents all functions provided by this library. Modules such as "Data.List.Extra" provide extra functions over "Data.List" and also reexport "Data.List". Users are recommended to replace "Data.List" imports with "Data.List.Extra" if they need the extra functionality.
homepage:           https://github.com/ndmitchell/extra#readme
bug-reports:        https://github.com/ndmitchell/extra/issues
tested-with:        GHC==9.8, GHC==9.6, GHC==9.4, GHC==9.2, GHC==9.0, GHC==8.10, GHC==8.8

extra-doc-files:
    CHANGES.txt
    README.md
extra-source-files:
    Generate.hs

source-repository head
    type:     git
    location: https://github.com/ndmitchell/extra.git

library
    default-language: Haskell2010
    hs-source-dirs: src
    build-depends:
        base >= 4.9 && < 4.21,
        directory,
        filepath,
        process,
        clock >= 0.7,
        time
    if !os(windows)
        build-depends: unix

    other-modules:
        Partial
    exposed-modules:
        Extra
        Control.Concurrent.Extra
        Control.Exception.Extra
        Control.Monad.Extra
        Data.Foldable.Extra
        Data.Either.Extra
        Data.IORef.Extra
        Data.List.Extra
        Data.List.NonEmpty.Extra
        Data.Monoid.Extra
        Data.Tuple.Extra
        Data.Typeable.Extra
        Data.Version.Extra
        Numeric.Extra
        System.Directory.Extra
        System.Environment.Extra
        System.Info.Extra
        System.IO.Extra
        System.Process.Extra
        System.Time.Extra
        Text.Read.Extra

test-suite extra-test
    type:            exitcode-stdio-1.0
    default-language: Haskell2010
    build-depends:
        base == 4.*,
        directory,
        filepath,
        extra,
        QuickCheck >= 2.10,
        quickcheck-instances >= 0.3.17
    if !os(windows)
        build-depends: unix
    hs-source-dirs: test
    ghc-options: -main-is Test -threaded "-with-rtsopts=-N4 -K1K"
    main-is:        Test.hs
    other-modules:
        TestCustom
        TestGen
        TestUtil
openSUSE Build Service is sponsored by