File: utility-ht.cabal

package info (click to toggle)
haskell-utility-ht 0.0.14-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 252 kB
  • sloc: haskell: 1,743; makefile: 3
file content (108 lines) | stat: -rw-r--r-- 3,023 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
Name:             utility-ht
Version:          0.0.14
License:          BSD3
License-File:     LICENSE
Author:           Henning Thielemann <haskell@henning-thielemann.de>
Maintainer:       Henning Thielemann <haskell@henning-thielemann.de>
Category:         Data, List
Synopsis:         Various small helper functions for Lists, Maybes, Tuples, Functions
Description:
  Various small helper functions for Lists, Maybes, Tuples, Functions.
  Some of these functions are improved implementations of standard functions.
  They have the same name as their standard counterparts.
  Others are equivalent to functions from the @base@ package,
  but if you import them from this utility package
  then you can write code that runs on older GHC versions
  or other compilers like Hugs and JHC.
  .
  All modules are plain Haskell 98.
  The package depends exclusively on the @base@ package
  and only that portions of @base@ that are simple to port.
  Thus you do not risk a dependency avalanche by importing it.
  However, further splitting the base package might invalidate this statement.
  .
  Alternative packages: @Useful@, @MissingH@
Tested-With:       GHC==6.8.2, GHC==6.10.4, GHC==6.12.3
Tested-With:       GHC==7.0.2, GHC==7.2.2, GHC==7.4.1, GHC==7.8.2
Cabal-Version:     >=1.10
Build-Type:        Simple
Stability:         Stable

-- workaround for Cabal-1.10
Extra-Source-Files:
  src/Test/Data/Maybe.hs
  src/Test/Data/ListMatch.hs
  src/Test/Data/Function.hs
  src/Test/Data/List.hs
  src/Test/Utility.hs
  src/Test.hs

Source-Repository head
  type:     darcs
  location: http://code.haskell.org/~thielema/utility/

Source-Repository this
  type:     darcs
  location: http://code.haskell.org/~thielema/utility/
  tag:      0.0.14

Library
  Build-Depends:
    base >=2 && <5

  Default-Language: Haskell98
  GHC-Options:      -Wall
  Hs-Source-Dirs:   src
  Exposed-Modules:
    Data.Bits.HT
    Data.Bool.HT
    Data.Eq.HT
    Data.Function.HT
    Data.Ix.Enum
    Data.List.HT
    Data.List.Key
    Data.List.Match
    Data.List.Reverse.StrictElement
    Data.List.Reverse.StrictSpine
    Data.Maybe.HT
    Data.Either.HT
    Data.Monoid.HT
    Data.Ord.HT
    Data.Record.HT
    Data.String.HT
    Data.Tuple.HT
    Data.Tuple.Lazy
    Data.Tuple.Strict
    Control.Monad.HT
    Control.Applicative.HT
    Control.Functor.HT
    Data.Strictness.HT
    Text.Read.HT
    Text.Show.HT
  Other-Modules:
    Data.Bool.HT.Private
    Data.List.HT.Private
    Data.List.Key.Private
    Data.List.Match.Private
    Data.Function.HT.Private
    Data.Record.HT.Private
    Data.Tuple.Example


Test-Suite test
  Type:             exitcode-stdio-1.0
  Build-Depends:
    QuickCheck >=1.1 && <3,
    base >=3 && <5
  Default-Language: Haskell98
  Main-Is:          Test.hs
  GHC-Options:      -Wall
  Hs-source-dirs:   src
  Other-Modules:
    Test.Data.List
    Test.Data.ListMatch
    Test.Data.List.Reverse.StrictElement
    Test.Data.List.Reverse.StrictSpine
    Test.Data.Maybe
    Test.Data.Function
    Test.Utility