-
Notifications
You must be signed in to change notification settings - Fork 0
/
poker-base.cabal
140 lines (135 loc) · 3.24 KB
/
poker-base.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
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
cabal-version: 1.22
name: poker-base
version: 0.1.0.0
description: This package provides datatypes and support for poker computation in Haskell.
.
== Usage
.
>>> import Poker
>>> Just h = mkHole (Card Ace Club) (Card Two Diamond)
>>> holeToShortTxt h
"Ac2d"
.
Please see the README on GitHub at <https://github.com/santiweight/poker-base#readme> for an overview.
category: Poker
synopsis: A library for core poker types
homepage: https://github.com/santiweight/poker-base#readme
bug-reports: https://github.com/santiweight/poker-base/issues
author: Santiago Weight
maintainer: santiago.weight@gmail.com
copyright: 2021 Santiago Weight
license: BSD3
license-file: LICENSE
build-type: Simple
tested-with:
GHC == 8.6.5
|| == 8.8.4
|| == 8.10.7
|| == 9.0.1
extra-doc-files:
README.md
ChangeLog.md
source-repository head
type: git
location: https://github.com/santiweight/poker-base
library
exposed-modules:
Poker
Poker.Range
Poker.Amount
Poker.Cards
Poker.Game
other-modules:
Poker.Utils
hs-source-dirs:
src
ghc-options:
-Wall -Wcompat -Wincomplete-record-updates
-Wincomplete-uni-patterns -Wredundant-constraints
-funbox-strict-fields
build-depends:
base >= 4.11 && <5,
text >= 0.11 && <1.3,
containers >= 0.5 && <0.7,
prettyprinter >= 1.6 && < 1.8,
safe-money >= 0.9 && < 0.10,
QuickCheck >= 2.12 && < 2.15,
generic-arbitrary >= 0.1 && < 0.3
default-language: Haskell2010
default-extensions:
ConstraintKinds
DataKinds
DeriveDataTypeable
DeriveFunctor
DeriveGeneric
DeriveTraversable
EmptyCase
FlexibleContexts
FlexibleInstances
GADTs
GeneralizedNewtypeDeriving
InstanceSigs
LambdaCase
MultiParamTypeClasses
PolyKinds
RankNTypes
ScopedTypeVariables
StandaloneDeriving
TypeApplications
TypeOperators
TypeFamilies
TemplateHaskell
ViewPatterns
test-suite all-tests
type: exitcode-stdio-1.0
main-is: Driver.hs
other-modules:
Test.Poker.Cards
Test.Poker.Game
Test.Poker.Range
hs-source-dirs:
test
ghc-options:
-Wall -Wcompat -Wincomplete-record-updates
-Wincomplete-uni-patterns -Wredundant-constraints
-funbox-strict-fields
-threaded -rtsopts -with-rtsopts=-N -Wall
build-depends:
base >= 4.11 && <5,
poker-base,
text >= 0.11 && <1.3,
prettyprinter >= 1.6 && < 1.8,
containers >= 0.5 && <0.7,
QuickCheck >= 2.13.2 && < 2.15,
extra >= 1.6.18 && < 1.8,
hspec >= 2.7.1 && < 2.9,
tasty >= 1.2.3 && < 1.5,
tasty-discover,
tasty-hspec >= 1.1 && < 1.3,
tasty-quickcheck >= 0.10.1 && < 0.11
build-tool-depends:
tasty-discover:tasty-discover
default-language: Haskell2010
default-extensions:
ConstraintKinds
DataKinds
DeriveDataTypeable
DeriveFunctor
DeriveGeneric
DeriveTraversable
EmptyCase
FlexibleContexts
FlexibleInstances
GADTs
GeneralizedNewtypeDeriving
InstanceSigs
LambdaCase
MultiParamTypeClasses
PolyKinds
RankNTypes
ScopedTypeVariables
StandaloneDeriving
TypeApplications
TypeOperators
TypeFamilies
TemplateHaskell