File: extra.cabal

package info (click to toggle)
haskell-extra 1.8.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 280 kB
  • sloc: haskell: 1,902; makefile: 2
file content (86 lines) | stat: -rw-r--r-- 2,738 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
cabal-version:      1.18
build-type:         Simple
name:               extra
version:            1.8.1
license:            BSD3
license-file:       LICENSE
category:           Development
author:             Neil Mitchell <ndmitchell@gmail.com>
maintainer:         Neil Mitchell <ndmitchell@gmail.com>
copyright:          Neil Mitchell 2014-2025
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.12, GHC==9.10, 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 && < 5,
        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