This repository was archived by the owner on Jan 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.yaml
More file actions
188 lines (177 loc) · 4.76 KB
/
package.yaml
File metadata and controls
188 lines (177 loc) · 4.76 KB
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
name: mcsp-algorithms
version: 0.1.0
github: Problemas-de-Particao-de-Strings/MCSP-Algorithms
license: MIT
author:
- Leonardo Rodrigues <leonardosrodrigues1@gmail.com>
- Tiago de Paula <tiagodepalves@gmail.com>
copyright:
- (c) 2023 Leonardo de Sousa Rodrigues
- (c) 2023 Tiago de Paula Alves
extra-source-files:
- README.md
# Metadata used when publishing your package
synopsis: Algorithms for Minimum Common String Partition (MCSP) in Haskell.
category: College,MCSP,Algorithms,String,Partition
# To avoid duplicated efforts in documentation and dealing with the complications of embedding
# Haddock markup inside cabal files, it is common to point users to the README.md file.
description: |
Please see the README on GitHub at
<https://github.com/Problemas-de-Particao-de-Strings/MCSP-Algorithms#readme>.
# Using modern Haskell features
language: GHC2021
default-extensions:
- ApplicativeDo
- DerivingStrategies
- DerivingVia
- ImplicitParams
- NoImplicitPrelude
- OverloadedLists
- OverloadedStrings
- PatternSynonyms
- QuantifiedConstraints
- RecordWildCards
- TemplateHaskell
- TypeFamilies
- UndecidableInstances
- ViewPatterns
library:
source-dirs: src
exposed-modules:
- MCSP.Algorithms.Vector
- MCSP.Data.MatchingGraph
- MCSP.Data.Meta
- MCSP.Data.Pair
- MCSP.Data.RadixTree
- MCSP.Data.String
- MCSP.Data.String.TH
- MCSP.Data.String.Extra
- MCSP.Heuristics
- MCSP.Heuristics.PSOBased
- MCSP.System.Random
- MCSP.Text.ReadP
dependencies:
- base >= 4.18.1 && < 5
- containers >= 0.6.7 && < 1
- data-interval >= 2.1.1 && < 3
- deepseq >= 1.4.8.1 && < 2
- extra >= 1.7.14 && < 2
- pcg-random >= 0.1.4 && < 1
- random-shuffle >= 0.0.4 && < 1
- safe >= 0.3.19 && < 1
- template-haskell >= 2.20 && < 3
- transformers >= 0.6.1 && < 1
- type-map >= 0.1.7.0 && < 1
- vector >= 0.13.1 && < 1
- vector-algorithms >= 0.9.0.1 && < 1
- vector-th-unbox >= 0.2.2 && < 1
internal-libraries:
mcsp-test-lib:
source-dirs: test/lib
exposed-modules:
- MCSP.System.Path
- MCSP.System.Path.TH
- MCSP.System.Repl
- MCSP.System.Statistics
- MCSP.System.TimeIt
- MCSP.TestLib.Heuristics
- MCSP.TestLib.Heuristics.Safe
- MCSP.TestLib.Random
- MCSP.TestLib.Sample
- MCSP.Text.CSV
- MCSP.Text.CSV.Parser
- MCSP.Text.CSV.Writer
dependencies:
- mcsp-algorithms
- directory >= 1.3.8.1 && < 2
- filepath >= 1.4.100.4 && < 2
- process >= 1.6.17 && < 2
- statistics >= 0.16.2.1 && < 1
- time >= 1.12.2 && < 2
executables:
gen-db:
main: Main.hs
source-dirs: app/gen-db
dependencies:
- mcsp-algorithms
- mcsp-test-lib
- optparse-applicative >= 0.18.1.0 && < 1
ghc-options: &binary-ghc-options
- -threaded
- -feager-blackholing
- -rtsopts
- -with-rtsopts=-N
run-db:
main: Main.hs
source-dirs: app/run-db
dependencies:
- mcsp-algorithms
- mcsp-test-lib
- filepath >= 1.4.100.4 && < 2
- optparse-applicative >= 0.18.1.0 && < 1
ghc-options: *binary-ghc-options
tests:
spec:
main: Spec.hs
source-dirs: test
dependencies:
- mcsp-algorithms
- mcsp-test-lib
- doctest >= 0.22.2 && < 1
- extended-reals >= 0.2.4.0 && < 1
- tasty >= 1.5 && < 2
- tasty-quickcheck >= 0.10.3 && < 1
# these dependencies are repeated here for Haskell Language Server to work in 'mcsp-test-lib'
- directory >= 1.3.8.1 && < 2
- filepath >= 1.4.100.4 && < 2
- process >= 1.6.17 && < 2
- statistics >= 0.16.2.1 && < 1
- time >= 1.12.2 && < 2
ghc-options: *binary-ghc-options
benchmarks:
blocks:
main: Bench.hs
source-dirs: bench/blocks
dependencies:
- mcsp-algorithms
- mcsp-test-lib
- mwc-random >= 0.15.0.2 && < 1
- statistics >= 0.16.2.1 && < 1
- time >= 1.12.2 && < 2
ghc-options: *binary-ghc-options
time:
main: Bench.hs
source-dirs: bench/time
dependencies:
- mcsp-algorithms
- mcsp-test-lib
- criterion >= 1.6.3.0 && < 2
ghc-options: *binary-ghc-options
ghc-options:
# Optimization flags
- -O2
- -fasm-shortcutting
- -fdicts-strict
- -fexpose-all-unfoldings
- -flate-dmd-anal
- -flate-specialise
- -fpedantic-bottoms
- -fregs-iterative
- -fspecialise-aggressively
# Additional warnings
- -Wall
- -Wcompat
- -Wderiving-defaults
- -Widentities
- -Winaccessible-code
- -Wincomplete-patterns
- -Wincomplete-record-updates
- -Wincomplete-uni-patterns
- -Wmissed-specialisations
- -Wmissing-deriving-strategies
- -Wmissing-signatures
- -Wmissing-export-lists
- -Wmissing-home-modules
- -Woverflowed-literals
- -Wpartial-fields
- -Wredundant-constraints