File: ListLike.cabal

package info (click to toggle)
haskell-listlike 4.7.8.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 248 kB
  • sloc: haskell: 2,704; makefile: 2
file content (125 lines) | stat: -rw-r--r-- 3,951 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
Cabal-Version: >= 1.10
Name: ListLike
Version: 4.7.8.2

License: BSD3
Maintainer: David Fox <dsf@seereason.com>, Andreas Abel
Author: John Goerzen
Copyright: Copyright (c) 2007-2008 John Goerzen
license-file: COPYRIGHT
Category: list, string, text, bytestring, vector
Build-Type: Simple
homepage: http://github.com/ddssff/listlike
synopsis: Generalized support for list-like structures
Description: Generalized support for list-like structures in Haskell.
 .
 The ListLike module provides a common interface to the various Haskell
 types that are list-like.  Predefined interfaces include standard
 Haskell lists, Arrays, ByteStrings, and lazy ByteStrings.  Custom
 types can easily be made ListLike instances as well.
 .
 ListLike also provides for String-like types, such as String and
 ByteString, for types that support input and output, and for types that can handle
 infinite lists.
Stability: Stable

Tested-With:
  GHC == 9.8.1
  GHC == 9.6.3
  GHC == 9.4.7
  GHC == 9.2.8
  GHC == 9.0.2
  GHC == 8.10.7
  GHC == 8.8.4
  GHC == 8.6.5
  GHC == 8.4.4
  GHC == 8.2.2
  GHC == 8.0.2
  GHC == 7.10.3

extra-source-files:
  README.md
  CHANGELOG.md

Library
  default-language: Haskell2010
  GHC-Options: -Wall
  Hs-Source-Dirs: src
  Exposed-Modules: Data.ListLike
          Data.ListLike.Base
          Data.ListLike.Chars
          Data.ListLike.CharString
          Data.ListLike.FoldableLL
          Data.ListLike.IO
          Data.ListLike.Instances
          Data.ListLike.String
          Data.ListLike.Text
          Data.ListLike.Text.Builder
          Data.ListLike.Text.Text
          Data.ListLike.Text.TextLazy
          Data.ListLike.UTF8
          Data.ListLike.Utils
          Data.ListLike.Vector
          Data.ListLike.Vector.Generic
          Data.ListLike.Vector.Storable
          Data.ListLike.Vector.Unboxed
          Data.ListLike.Vector.Vector
          Data.ListLike.DList
          Data.ListLike.FMList
  -- Other-Modules: Data.ConfigFile.Lexer
  Build-Depends: base       >= 4.8   && < 5
                ,containers >= 0.3   && < 0.8
                ,bytestring >= 0.9.1 && < 0.13
                ,array      >= 0.3   && < 0.6
                ,text       >= 0.11  && < 1.3  || >= 2.0 && < 2.2
                ,vector     >= 0.5   && < 0.14
                ,dlist      >= 0.7   && < 1.1
                ,fmlist     >= 0.8   && < 0.10
                ,utf8-string >= 0.3.1 && < 1.1
                ,deepseq

  -- Remark: Atm, we don't comply with the Haskell Package Versioning Policy
  --   https://pvp.haskell.org/
  -- > ยง6. Client defines orphan instance.
  -- > If a package defines an orphan instance, it MUST depend on the
  -- > minor version of the packages that define the data type and the
  -- > type class to be backwards compatible. For example,
  -- > build-depends: mypkg >= 2.1.1 && < 2.1.2.
  --
  -- Since ListLike defines orphan instances, we would need to include
  -- the minor version number in the upper bounds.
  -- (See issues #7 and #10.)
  -- However, this could involve a maintenance marathon to relax upper bounds.

  If !impl(ghc >= 8.4)
    Build-Depends: semigroups >= 0.16 && < 0.20

  if impl(ghc >= 8.0)
    ghc-options:  -Wcompat

Test-suite listlike-tests
  default-language: Haskell2010
  Hs-source-dirs: testsrc
  Main-is:        runtests.hs
  Type:           exitcode-stdio-1.0

  Other-modules:  TestInfrastructure
  Build-depends:   base
                  ,ListLike
                  ,HUnit      >= 1.2 && < 2
                  ,QuickCheck >= 2.4 && < 3
                  ,random     >= 1   && < 2
                  ,array
                  ,bytestring
                  ,containers
                  ,dlist
                  ,fmlist
                  ,text
                  ,vector
                  ,utf8-string
  If !impl(ghc >= 8.4)
    Build-Depends: semigroups >= 0.16 && < 0.20

source-repository head
  type:     git
  location: https://github.com/ddssff/listlike.git