-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmtg-pure.cabal
383 lines (372 loc) · 14.6 KB
/
mtg-pure.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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
cabal-version: 2.4
name: mtg-pure
version: 0.1.0.0
-- A short (one-line) description of the package.
-- synopsis:
-- A longer description of the package.
-- description:
-- A URL where users can report bugs.
-- bug-reports:
-- The license under which the package is released.
-- license:
author: 'Thomas Eding'
maintainer: '[email protected]'
-- A copyright notice.
-- copyright:
-- category:
-- extra-source-files: CHANGELOG.md
library
exposed-modules:
Ansi.AnsiString
Ansi.Box
Ansi.Compile
Ansi.Math
Ansi.Old
Ansi.TrueColor.Debug
Ansi.TrueColor.FileFormat
Ansi.TrueColor.FindColoring
Ansi.TrueColor.FindRendering
Ansi.TrueColor.ImageToAnsi
Ansi.TrueColor.RenderedTile
Ansi.TrueColor.TileGrid
Ansi.TrueColor.Types
Ansi.TrueColor.VirtualChar
Ansi.TrueColor.VirtualCharTile
App.AnsiInspector
App.CardGallery
Control.Monad.Access
Control.Monad.Util
Data.Carousel
Data.ConsIndex
Data.Inst
Data.Nat
Data.Read.Sep
Data.Read.Symbol
Data.SafeJson
Data.TupleN
Data.Virtual
Data.Zipper
Demo.Ansi.Box
Demo.Ansi.ChoiceMenu
Demo.Ansi.Colors
Demo.Ansi.MagicBoard
Demo.Misc.SerializableMonadApi.ProofOfConcept
Demo.Misc.SerializableMonadApi.Variable
Demo.Misc.SerializableMonadApi.VariableMonad
Demo.MtgPure.Gameplay
LoadAllModules
MtgPure
MtgPure.AllCards
MtgPure.Cards
MtgPure.Client.Terminal.CommandInput
MtgPure.Client.Terminal.Fwd.Api
MtgPure.Client.Terminal.Fwd.Impl
MtgPure.Client.Terminal.Fwd.Type
MtgPure.Client.Terminal.Monad
MtgPure.Client.Terminal.PriorityAction
MtgPure.Client.Terminal.Render
MtgPure.Engine.ActivateCast
MtgPure.Engine.CaseOf
MtgPure.Engine.Core
MtgPure.Engine.Enact
MtgPure.Engine.Fwd.Api
MtgPure.Engine.Fwd.Impl
MtgPure.Engine.Fwd.Type
MtgPure.Engine.Legality
MtgPure.Engine.Monad
MtgPure.Engine.Orphans
MtgPure.Engine.Orphans.ZO
MtgPure.Engine.Pay
MtgPure.Engine.PayMana
MtgPure.Engine.PerformElections
MtgPure.Engine.PlayGame
MtgPure.Engine.PlayLand
MtgPure.Engine.Priority
MtgPure.Engine.Prompt
MtgPure.Engine.PutOntoBattlefield
MtgPure.Engine.Resolve
MtgPure.Engine.Satisfies
MtgPure.Engine.State
MtgPure.Engine.StateBasedActions
MtgPure.Engine.Turn
MtgPure.Model.AbilityType
MtgPure.Model.Artifact
MtgPure.Model.ArtifactType
MtgPure.Model.BasicLandType
MtgPure.Model.Battle
MtgPure.Model.Battlefield
MtgPure.Model.CardName
MtgPure.Model.CardSet
MtgPure.Model.CardType
MtgPure.Model.Color
MtgPure.Model.Colors
MtgPure.Model.ColorsLike
MtgPure.Model.ColorToManaType
MtgPure.Model.Combinators
MtgPure.Model.Counter
MtgPure.Model.Creature
MtgPure.Model.CreatureType
MtgPure.Model.Damage
MtgPure.Model.Deck
MtgPure.Model.Defense
MtgPure.Model.EffectType
MtgPure.Model.ElectStage
MtgPure.Model.Enchantment
MtgPure.Model.Graveyard
MtgPure.Model.Hand
MtgPure.Model.IsCardList
MtgPure.Model.Land
MtgPure.Model.LandType
MtgPure.Model.Library
MtgPure.Model.Life
MtgPure.Model.Linear
MtgPure.Model.Loyalty
MtgPure.Model.Mana.CountMana
MtgPure.Model.Mana.HasManaSymbol
MtgPure.Model.Mana.IsManaAbility
MtgPure.Model.Mana.Mana
MtgPure.Model.Mana.ManaCost
MtgPure.Model.Mana.ManaPool
MtgPure.Model.Mana.ManaSymbol
MtgPure.Model.Mana.ManaType
MtgPure.Model.Mana.ManaTypeToColor
MtgPure.Model.Mana.PrintedManaCost
MtgPure.Model.Mana.Snow
MtgPure.Model.Mana.ToMana
MtgPure.Model.Mana.ToManaCost
MtgPure.Model.Mana.ToManaPool
MtgPure.Model.Mulligan
MtgPure.Model.Object.IndexOT
MtgPure.Model.Object.IsObjectType
MtgPure.Model.Object.LitOTN
MtgPure.Model.Object.MapObjectN
MtgPure.Model.Object.Object
MtgPure.Model.Object.ObjectId
MtgPure.Model.Object.ObjectN
MtgPure.Model.Object.OT
MtgPure.Model.Object.OTKN
MtgPure.Model.Object.OTN
MtgPure.Model.Object.OTNAliases
MtgPure.Model.Object.PromoteIdToObjectN
MtgPure.Model.Object.Singleton.Any
MtgPure.Model.Object.Singleton.Card
MtgPure.Model.Object.Singleton.NonCreatureCard
MtgPure.Model.Object.Singleton.Permanent
MtgPure.Model.Object.Singleton.Spell
MtgPure.Model.Object.SingOT
MtgPure.Model.Object.SmartConstructors
MtgPure.Model.Object.ToObjectN
MtgPure.Model.Object.ToObjectN.Classes
MtgPure.Model.Object.ToObjectN.CodeGen
MtgPure.Model.Object.ToObjectN.Instances
MtgPure.Model.Object.ToObjectN.Instances.ToObject_01
MtgPure.Model.Object.ToObjectN.Instances.ToObject_01_01
MtgPure.Model.Object.ToObjectN.Instances.ToObject_02
MtgPure.Model.Object.ToObjectN.Instances.ToObject_02_01
MtgPure.Model.Object.ToObjectN.Instances.ToObject_02_02
MtgPure.Model.Object.ToObjectN.Instances.ToObject_03
MtgPure.Model.Object.ToObjectN.Instances.ToObject_03_01
MtgPure.Model.Object.ToObjectN.Instances.ToObject_03_02
MtgPure.Model.Object.ToObjectN.Instances.ToObject_03_03
MtgPure.Model.Object.ToObjectN.Instances.ToObject_04
MtgPure.Model.Object.ToObjectN.Instances.ToObject_04_01
MtgPure.Model.Object.ToObjectN.Instances.ToObject_04_02
MtgPure.Model.Object.ToObjectN.Instances.ToObject_04_03
MtgPure.Model.Object.ToObjectN.Instances.ToObject_04_04
MtgPure.Model.Object.ToObjectN.Instances.ToObject_05
MtgPure.Model.Object.ToObjectN.Instances.ToObject_05_01
MtgPure.Model.Object.ToObjectN.Instances.ToObject_05_02
MtgPure.Model.Object.ToObjectN.Instances.ToObject_05_03
MtgPure.Model.Object.ToObjectN.Instances.ToObject_05_04
MtgPure.Model.Object.ToObjectN.Instances.ToObject_05_05
MtgPure.Model.Object.ToObjectN.Instances.ToObject_06
MtgPure.Model.Object.ToObjectN.Instances.ToObject_06_01
MtgPure.Model.Object.ToObjectN.Instances.ToObject_06_02
MtgPure.Model.Object.ToObjectN.Instances.ToObject_06_03
MtgPure.Model.Object.ToObjectN.Instances.ToObject_06_04
MtgPure.Model.Object.ToObjectN.Instances.ToObject_06_05
MtgPure.Model.Object.ToObjectN.Instances.ToObject_06_06
MtgPure.Model.Object.ToObjectN.Instances.ToObject_07
MtgPure.Model.Object.ToObjectN.Instances.ToObject_07_01
MtgPure.Model.Object.ToObjectN.Instances.ToObject_07_02
MtgPure.Model.Object.ToObjectN.Instances.ToObject_07_03
MtgPure.Model.Object.ToObjectN.Instances.ToObject_07_04
MtgPure.Model.Object.ToObjectN.Instances.ToObject_07_05
MtgPure.Model.Object.ToObjectN.Instances.ToObject_07_06
MtgPure.Model.Object.ToObjectN.Instances.ToObject_07_07
MtgPure.Model.Object.ToObjectN.Instances.ToObject_08
MtgPure.Model.Object.ToObjectN.Instances.ToObject_08_01
MtgPure.Model.Object.ToObjectN.Instances.ToObject_08_02
MtgPure.Model.Object.ToObjectN.Instances.ToObject_08_03
MtgPure.Model.Object.ToObjectN.Instances.ToObject_08_04
MtgPure.Model.Object.ToObjectN.Instances.ToObject_08_05
MtgPure.Model.Object.ToObjectN.Instances.ToObject_08_06
MtgPure.Model.Object.ToObjectN.Instances.ToObject_08_07
MtgPure.Model.Object.ToObjectN.Instances.ToObject_08_08
MtgPure.Model.Object.ToObjectN.Instances.ToObject_09
MtgPure.Model.Object.ToObjectN.Instances.ToObject_09_01
MtgPure.Model.Object.ToObjectN.Instances.ToObject_09_02
MtgPure.Model.Object.ToObjectN.Instances.ToObject_09_03
MtgPure.Model.Object.ToObjectN.Instances.ToObject_09_04
MtgPure.Model.Object.ToObjectN.Instances.ToObject_09_05
MtgPure.Model.Object.ToObjectN.Instances.ToObject_09_06
MtgPure.Model.Object.ToObjectN.Instances.ToObject_09_07
MtgPure.Model.Object.ToObjectN.Instances.ToObject_09_08
MtgPure.Model.Object.ToObjectN.Instances.ToObject_09_09
MtgPure.Model.Object.ToObjectN.Instances.ToObject_10
MtgPure.Model.Object.ToObjectN.Instances.ToObject_10_01
MtgPure.Model.Object.ToObjectN.Instances.ToObject_10_02
MtgPure.Model.Object.ToObjectN.Instances.ToObject_10_03
MtgPure.Model.Object.ToObjectN.Instances.ToObject_10_04
MtgPure.Model.Object.ToObjectN.Instances.ToObject_10_05
MtgPure.Model.Object.ToObjectN.Instances.ToObject_10_06
MtgPure.Model.Object.ToObjectN.Instances.ToObject_10_07
MtgPure.Model.Object.ToObjectN.Instances.ToObject_10_08
MtgPure.Model.Object.ToObjectN.Instances.ToObject_10_09
MtgPure.Model.Object.ToObjectN.Instances.ToObject_10_10
MtgPure.Model.Object.ToObjectN.Instances.ToObject_11
MtgPure.Model.Object.ToObjectN.Instances.ToObject_11_01
MtgPure.Model.Object.ToObjectN.Instances.ToObject_11_02
MtgPure.Model.Object.ToObjectN.Instances.ToObject_11_03
MtgPure.Model.Object.ToObjectN.Instances.ToObject_11_04
MtgPure.Model.Object.ToObjectN.Instances.ToObject_11_05
MtgPure.Model.Object.ToObjectN.Instances.ToObject_11_06
MtgPure.Model.Object.ToObjectN.Instances.ToObject_11_07
MtgPure.Model.Object.ToObjectN.Instances.ToObject_11_08
MtgPure.Model.Object.ToObjectN.Instances.ToObject_11_09
MtgPure.Model.Object.ToObjectN.Instances.ToObject_11_10
MtgPure.Model.Object.ToObjectN.Instances.ToObject_11_11
MtgPure.Model.Object.ToObjectN.Instances.ToObject_12
MtgPure.Model.Object.ToObjectN.Instances.ToObject_12_01
MtgPure.Model.Object.ToObjectN.Instances.ToObject_12_02
MtgPure.Model.Object.ToObjectN.Instances.ToObject_12_03
MtgPure.Model.Object.ToObjectN.Instances.ToObject_12_04
MtgPure.Model.Object.ToObjectN.Instances.ToObject_12_05
MtgPure.Model.Object.ToObjectN.Instances.ToObject_12_06
MtgPure.Model.Object.ToObjectN.Instances.ToObject_12_07
MtgPure.Model.Object.ToObjectN.Instances.ToObject_12_08
MtgPure.Model.Object.ToObjectN.Instances.ToObject_12_09
MtgPure.Model.Object.ToObjectN.Instances.ToObject_12_10
MtgPure.Model.Object.ToObjectN.Instances.ToObject_12_11
MtgPure.Model.Object.ToObjectN.Instances.ToObject_12_12
MtgPure.Model.Object.ToObjectN.Instances.ToObject_13
MtgPure.Model.Object.ToObjectN.Instances.ToObject_13_01
MtgPure.Model.Object.ToObjectN.Instances.ToObject_13_02
MtgPure.Model.Object.ToObjectN.Instances.ToObject_13_03
MtgPure.Model.Object.ToObjectN.Instances.ToObject_13_04
MtgPure.Model.Object.ToObjectN.Instances.ToObject_13_05
MtgPure.Model.Object.ToObjectN.Instances.ToObject_13_06
MtgPure.Model.Object.ToObjectN.Instances.ToObject_13_07
MtgPure.Model.Object.ToObjectN.Instances.ToObject_13_08
MtgPure.Model.Object.ToObjectN.Instances.ToObject_13_09
MtgPure.Model.Object.ToObjectN.Instances.ToObject_13_10
MtgPure.Model.Object.ToObjectN.Instances.ToObject_13_11
MtgPure.Model.Object.ToObjectN.Instances.ToObject_13_12
MtgPure.Model.Object.ToObjectN.Instances.ToObject_13_13
MtgPure.Model.Object.ViewObjectN
MtgPure.Model.Object.VisitObjectN
MtgPure.Model.Permanent
MtgPure.Model.Phase
MtgPure.Model.PhaseStep
MtgPure.Model.Planeswalker
MtgPure.Model.Player
MtgPure.Model.Power
MtgPure.Model.PrettyType
MtgPure.Model.Rarity
MtgPure.Model.Recursive
MtgPure.Model.Recursive.Ord
MtgPure.Model.Recursive.Show
MtgPure.Model.Recursive.Tree
MtgPure.Model.Sideboard
MtgPure.Model.Stack
MtgPure.Model.Step
MtgPure.Model.Supertype
MtgPure.Model.TimePoint
MtgPure.Model.Toughness
MtgPure.Model.Variable
MtgPure.Model.Zone
MtgPure.Model.ZoneObject.Convert
MtgPure.Model.ZoneObject.ZoneObject
Script.GenerateGalleryBatched.Main
Script.GenerateGallerySingle.Args
Script.GenerateGallerySingle.Main
Script.GenerateLoadAllModules
Script.MtgPureConfig
Script.ScryfallDownloader
System.Keyboard
Test.Engine.Unit.MagicCont
Test.Engine.Unit.PayMana
Test.Game.Hybrid
Test.Game.ManaAbility
Test.Game.RagingGoblin
Test.Game.Shock
Test.Game.StoneRain
default-extensions:
AllowAmbiguousTypes,
ApplicativeDo,
BangPatterns,
BlockArguments,
ConstraintKinds,
DataKinds,
DefaultSignatures,
DeriveFunctor,
EmptyDataDecls,
FlexibleContexts,
FlexibleInstances,
FunctionalDependencies,
GADTs,
InstanceSigs,
LambdaCase,
MagicHash,
MultiParamTypeClasses,
MultiWayIf,
OverloadedStrings,
PatternSynonyms,
PolyKinds,
QuantifiedConstraints,
RankNTypes,
RecursiveDo,
--Safe,
ScopedTypeVariables,
StandaloneDeriving,
StrictData,
TemplateHaskellQuotes,
TypeApplications,
TypeFamilyDependencies,
TypeOperators,
ViewPatterns
other-extensions:
ExtendedDefaultRules
ghc-options: -Wall -Werror -Wno-type-defaults -Wincomplete-uni-patterns -Wincomplete-record-updates -Wcpp-undef -Wmissing-export-lists
build-depends:
aeson ^>=2.1.1.0,
ansi-terminal ^>=0.11.4,
array ^>=0.5.4.0,
async ^>=2.2.4,
base ^>=4.17.2.1,
binary ^>=0.8.8.0,
bytestring ^>=0.11.5.3,
colour ^>=2.3.6,
containers ^>=0.6.5.1,
directory ^>=1.3.8.5,
dlist ^>=1.0,
--fin ^>=0.2.1,
filepath ^>=1.4.2.1,
http-conduit ^>=2.3.8,
JuicyPixels ^>=3.3.8,
JuicyPixels-extra ^>=0.5.2,
monad-par ^>=0.3.5,
mtl ^>=2.2.2,
parsec ^>=3.1.14.0,
no-buffering-workaround ^>=0.1.0.0,
parsec ^>=3.1.14.0,
process ^>=1.6.13.2,
random ^>=1.2.1.1,
split ^>=0.2.3.5,
Stream ^>=0.4.7.2,
template-haskell ^>=2.19.0.0,
time ^>=1.9.3,
transformers ^>=0.5.6.2,
vector ^>=0.13.0.0
hs-source-dirs: src
default-language: Haskell2010