/
hydrogen.cabal
84 lines (80 loc) · 2.06 KB
/
hydrogen.cabal
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
name: hydrogen
version: 0.7.0.0
cabal-version: >= 1.10
build-type: Simple
license: GPL-3
license-file: LICENSE.txt
copyright: (c) 2013-2015 Karl Voelker
author: Karl Voelker
maintainer: hydrogen@karlv.net
stability: experimental
homepage: https://www.github.com/ktvoelker/hydrogen
bug-reports: https://www.github.com/ktvoelker/hydrogen/issues
synopsis: An alternate Prelude
description:
This is an alternative to "Prelude" that is not meant to depart drastically
from the standard. The principles of Hydrogen are:
.
1. Be total, not partial.
2. Use 'Data.Text.Text', not 'Data.String.String'.
3. Use generic functions, not "Data.List" functions.
4. Whatever is omitted should be replaced.
.
To use this package, use the `NoImplicitPrelude` language option, and import
"H.Prelude".
category: Prelude
Source-repository head
type: git
location: https://github.com/ktvoelker/hydrogen.git
Library
default-language: Haskell2010
hs-source-dirs: src
ghc-options:
-Wall
-fno-warn-name-shadowing
build-depends:
base >= 4.7 && < 4.13,
bytestring >= 0.10 && < 0.11,
text >= 1.2 && < 1.3,
containers >= 0.5 && < 0.7,
mtl >= 2.1 && < 2.3,
pretty >= 1.1 && < 1.2
exposed-modules:
H.Chan
H.IO
H.Prelude
H.Prelude.Aggregates
H.Prelude.Core
H.Prelude.Debug
H.Prelude.Monad
H.Prelude.Monads
H.Prelude.Num
H.Prelude.Text
H.Pretty
other-modules:
H.Import.IO
default-extensions:
LambdaCase
NoImplicitPrelude
OverloadedStrings
TupleSections
Test-Suite test
type: exitcode-stdio-1.0
default-language: Haskell2010
hs-source-dirs: test
main-is: Main.hs
ghc-options:
-Wall
-fno-warn-name-shadowing
build-depends:
QuickCheck >= 2.8 && < 2.14,
base >= 4.7 && < 4.13,
containers >= 0.5 && < 0.7,
mtl >= 2.1 && < 2.3,
hydrogen
default-extensions:
LambdaCase
NoImplicitPrelude
OverloadedStrings
TemplateHaskell
TupleSections