Repository navigation
Expand file tree
/
Copy pathhmath.cabal
More file actions
701 lines (667 loc) · 21.6 KB
/
Copy pathhmath.cabal
File metadata and controls
701 lines (667 loc) · 21.6 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
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
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
cabal-version: 3.0
-- SPDX-License-Identifier: MPL-2.0
name: hmath
version: 1.1.0
synopsis: General-purpose mathematics library written in Haskell
description:
HMath is a general-purpose mathematics library written in Haskell.
It provides mathematical operations for scientific computing,
statistics, linear algebra, and machine learning.
The library also provides a C-compatible foreign function interface.
category: Math
build-type: Simple
license: MPL-2.0
license-file: LICENSE
homepage: https://github.com/wavefnd/hmath
bug-reports: https://github.com/wavefnd/hmath/issues
extra-source-files:
.clang-format
.github/workflows/publish-python.yml
.github/workflows/validate.yml
.github/workflows/python-wheels.yml
.github/workflows/docs.yml
MANIFEST.in
setup.py
mkdocs.yml
requirements-docs.txt
requirements-codegen.txt
docs/**/*.md
README.md
ROADMAP.md
bindings/python/LICENSE
bindings/python/hmath.py
bindings/python/hmath_cffi.py
bindings/python/_hmath_native/__init__.py
bindings/python/_hmath_native/licenses/NOTICE
bindings/python/_hmath_native/licenses/GHC-LICENSE
bindings/python/_hmath_native/licenses/LIBFFI-LICENSE
bindings/python/_hmath_native/licenses/GMP-COPYING.LESSERv3
bindings/python/_hmath_native/licenses/GMP-COPYINGv3
pyproject.toml
bindings/python/test_bindings.py
bindings/wave/hmath.wave
bindings/wave/smoke.wave
bench/native.c
cabal.project
cbits/native_internal.h
cbits/numeric_internal.h
bindings/schema/*.json
bindings/schema/*.txt
bindings/python/_hmath_native/*.py
include/hmath_numeric.h
include/hmath_optimization.h
include/hmath_matrix.h
include/hmath_autodiff.h
include/hmath_execution.h
include/hmath_error.h
examples/c/main.c
examples/haskell/Domains.hs
examples/haskell/Foundations.hs
examples/haskell/Main.hs
examples/haskell/Scientific.hs
examples/python/main.py
fourmolu.yaml
include/hmath.h
include/hmath_backend.h
include/hmath_dlpack.h
meson-build.py
meson.build
meson/cmake/HMathConfig.cmake.in
meson/cmake/HMathConfigVersion.cmake.in
meson/hmath.pc.in
meson_options.txt
test/abi-symbols.txt
test/ffi_bad_results.c
test/ffi_failure_detection.py
test/ffi_lifecycle.py
test/fuzz_native.c
test/install/CMakeLists.txt
test/install/client.c
test/interchange_differential.py
test/interchange_native.c
test/native/abi_rejection.py
test/native/contracts.c
test/native/dlpack_numpy.py
test/native/header_c99.c
test/native/wrong_abi.c
tools/benchmark.py
tools/build_python_wheel.sh
tools/check_python_wheel.py
tools/build_c_sdk.py
tools/check_c_sdk.py
tools/release_version.py
tools/release_manifest.py
tools/check_release_remote.py
tools/publish_github_release.py
tools/generate_matrix_bindings.py
tools/check_matrix_equivalence.py
tools/check_autodiff_equivalence.py
test/native/matrix_contracts.c
test/native/kernel_storage.c
test/native/execution_blas_spy.c
tools/check_execution.py
tools/numeric_specializations.py
tools/select_release_candidate.py
tools/verify_release_candidate.py
test/native/execution_smoke.c
include/hmath_execution.h
include/hmath_error.h
test/native/autodiff_contracts.c
test/native/autodiff_bindings.py
tools/generate_numeric_bindings.py
tools/check_binding_coverage.py
tools/check_numeric_equivalence.py
test/native/numeric_contracts.c
test/native/numeric_contracts.cpp
test/native/expanded_bindings.py
tools/build_docs.py
tools/check_docs_examples.py
tools/check_abi.py
tools/check_install.py
tools/check_interchange.py
tools/interchange_adapters.py
tools/run_fuzz.py
tools/run_wave.py
cbits/value_internal.h
cbits/matrix_internal.h
include/hmath_value.h
include/hmath_matrix_value.h
include/hmath_polynomial.h
include/hmath_graph.h
include/hmath_numeric_types.h
include/hmath_optimization_all.h
test/release_candidate.py
test/release_publishing.py
test/native/numeric_variants.c
test/native/value_bindings.py
test/native/polynomial_bindings.py
test/native/polynomial_contracts.c
tools/generate_graph_bindings.py
tools/check_haskell_doc_examples.py
tools/check_docs_links.py
tools/check_api_docs.py
tools/check_polynomial_equivalence.py
tools/check_matrix_value_equivalence.py
tools/haskell_reference.py
tools/generate_numeric_types.py
tools/generate_polynomial_bindings.py
tools/generate_matrix_value_bindings.py
tools/check_numeric_types_equivalence.py
tools/generate_units_bindings.py
tools/check_optimization_equivalence.py
tools/check_graph_equivalence.py
include/hmath_units.h
tools/generate_optimization_bindings.py
tools/check_units_equivalence.py
test/native/units_bindings.py
test/native/optimization_bindings.py
test/native/numeric_types.c
include/hmath_timeseries.h
include/hmath_rotations.h
include/hmath_expression_error.h
tools/generate_rotation_bindings.py
tools/generate_linear_bindings.py
tools/check_rotation_equivalence.py
tools/generate_timeseries_bindings.py
tools/generate_expression_bindings.py
test/native/rotations.c
test/native/optimization_contracts.c
test/native/structured_contracts.c
tools/check_timeseries_equivalence.py
include/hmath_image.h
include/hmath_expression.h
tools/check_image_equivalence.py
tools/generate_image_bindings.py
include/hmath_linear.h
include/hmath_numerical.h
tools/check_linear_equivalence.py
tools/generate_numerical_bindings.py
tools/generate_geometry_bindings.py
tools/check_expression_equivalence.py
test/native/expression_bindings.py
test/native/image.c
test/native/expression_contracts.c
include/hmath_geometry.h
include/hmath_stochastic.h
include/hmath_spectral.h
tools/generate_stochastic_bindings.py
tools/check_numerical_equivalence.py
tools/check_stochastic_equivalence.py
tools/check_geometry_equivalence.py
tools/generate_spectral_bindings.py
test/native/stochastic_bindings.py
test/native/linear_bindings.py
test/native/geometry.c
test/native/stochastic_contracts.c
test/native/linear_contracts.c
include/hmath_tensor_bindings.h
include/hmath_deeplearning.h
include/hmath_machinelearning.h
include/hmath_bytes.h
include/hmath_interchange_error.h
tools/generate_tensor_bindings.py
tools/generate_deeplearning_bindings.py
tools/generate_machinelearning_bindings.py
tools/check_spectral_equivalence.py
tools/check_structural_matrix_equivalence.py
test/native/numerical_bindings.py
extra-doc-files: CHANGELOG.md
.github/workflows/compatibility.yml
include/hmath_algebra.h
include/hmath_callback.h
include/hmath_foundation.h
include/hmath_interchange.h
include/hmath_scalar_extras.h
include/hmath_shape.h
test/native/foundation_bindings.py
test/native/foundation_contracts.c
test/native/machinelearning.c
test/native/structural_matrix_contracts.c
test/native/tensor_bindings.py
test/native/tensor_contracts.c
tools/check_algebra_equivalence.py
tools/check_foundation_equivalence.py
tools/check_machinelearning_equivalence.py
tools/check_scalar_extras.py
tools/check_shape_equivalence.py
tools/check_tensor_equivalence.py
tools/generate_algebra_bindings.py
tools/generate_foundation_bindings.py
tools/generate_interchange_bindings.py
tools/generate_scalar_extras.py
tools/generate_shape_bindings.py
include/hmath_buffer.h
test/native/callback_errors.py
test/native/deeplearning_contracts.c
test/native/scalar_extras.c
test/native/spectral_bindings.py
test/native/spectral_contracts.c
tools/check_deeplearning_equivalence.py
tools/check_interchange_bindings_equivalence.py
tools/generate_buffer_bindings.py
include/hmath_numeric_objects.h
test/native/autodiff_checked_contracts.c
test/native/autodiff_checked_contracts.cpp
test/native/buffer_contracts.c
test/native/buffer_contracts.cpp
test/native/deeplearning_bindings.py
test/native/deeplearning_contracts.cpp
test/native/foundation_contracts.cpp
test/native/interchange_bindings.py
test/native/interchange_contracts.c
test/native/interchange_contracts.cpp
test/native/tensor_contracts.cpp
tools/check_autodiff_coefficients.py
tools/check_buffer_equivalence.py
tools/generate_numeric_objects.py
include/*.h
cbits/*.h
tools/*.py
tools/*.sh
test/native/*.c
test/native/*.cpp
test/native/*.py
test/*.py
.github/workflows/*.yml
.github/actions/setup-haskell/action.yml
docs/stylesheets/*.css
docs/javascripts/*.js
flag native-backend
description: Enable runtime loading of native BLAS and LAPACK providers
default: True
manual: True
flag validation-frameworks
description: Build the optional Hspec and QuickCheck validation suite
default: False
manual: True
flag interchange-zlib
description: Enable deflate compression for numerical interchange
default: True
manual: True
flag criterion-benchmarks
description: Build the optional Criterion benchmark suite
default: False
manual: True
source-repository head
type: git
location: https://github.com/wavefnd/hmath.git
library
hs-source-dirs: src
exposed-modules:
HMath
HMath.Algebra
HMath.Algorithms
HMath.API
HMath.API.Algebra
HMath.API.Buffer
HMath.API.Convergence
HMath.API.Shape
HMath.Autodiff
HMath.Backend
HMath.Basic
HMath.Calculus
HMath.Combinatorics
HMath.Complex
HMath.Constants
HMath.DataStructure
HMath.DeepLearning
HMath.DeepLearning.Core
HMath.DeepLearning.Layers
HMath.DeepLearning.Metrics
HMath.DeepLearning.Precision
HMath.Discrete
HMath.Error
HMath.Expression
HMath.Fourier
HMath.Geometry
HMath.Geometry.Collision
HMath.Geometry.Polygon
HMath.Geometry.Primitives
HMath.Geometry.Spatial
HMath.Geometry.Transform
HMath.Geometry.Triangulation
HMath.Graph
HMath.Graph.Analysis
HMath.Graph.Core
HMath.Graph.Flow
HMath.Graph.Paths
HMath.Image
HMath.Image.Color
HMath.Image.Filter
HMath.Image.Histogram
HMath.Image.Measure
HMath.Image.Spatial
HMath.Interchange
HMath.Interchange.Array
HMath.Interchange.Binary
HMath.Interchange.Compression
HMath.Interchange.IO
HMath.Interchange.Numpy
HMath.Interchange.Text
HMath.Interpolation
HMath.Linear
HMath.MachineLearning
HMath.MachineLearning.Clustering
HMath.MachineLearning.Decomposition
HMath.MachineLearning.Neighbors
HMath.MachineLearning.Preprocessing
HMath.MachineLearning.Regression
HMath.Matrix
HMath.Matrix.Advanced
HMath.Matrix.Decomposition
HMath.Matrix.Iterative
HMath.Matrix.LAPACK
HMath.Matrix.LU
HMath.Matrix.QR
HMath.NumberTheory
HMath.Numeric
HMath.ODE
HMath.Optimization
HMath.Optimization.Common
HMath.Optimization.Constrained
HMath.Optimization.FirstOrder
HMath.Optimization.Global
HMath.Optimization.Local
HMath.PDE
HMath.Polynomial
HMath.Probability
HMath.Quaternion
HMath.Random
HMath.Root
HMath.Rotation
HMath.Scalar
HMath.Signal
HMath.Sparse
HMath.Sparse.Spectral
HMath.Special
HMath.Statistics
HMath.Statistics.Advanced
HMath.Symbolic
HMath.Tensor
HMath.Tensor.Mutable
HMath.TimeSeries
HMath.TimeSeries.Diagnostics
HMath.TimeSeries.Models
HMath.Trigonometry
HMath.Units
HMath.Vector
other-modules:
HMath.FFI
HMath.Geometry.Internal
HMath.Image.Core
HMath.MachineLearning.Internal
HMath.Matrix.Internal
HMath.ODE.Tableau
HMath.Signal.Internal
HMath.TimeSeries.Core
build-depends:
base >= 4.16 && < 5,
array >= 0.5 && < 0.6,
containers >= 0.6 && < 0.9,
bytestring >= 0.11 && < 0.13,
binary >= 0.8 && < 0.9,
text >= 1.2 && < 2.2
c-sources: cbits/backend.c cbits/interchange_io.c
if flag(interchange-zlib)
cc-options: -DHMATH_HAVE_ZLIB
extra-libraries: z
if os(linux)
extra-libraries: dl
if !flag(native-backend)
cc-options: -DHMATH_DISABLE_NATIVE
default-language: Haskell2010
ghc-options: -Wall
include-dirs: include
install-includes: hmath.h hmath_algebra.h hmath_autodiff.h hmath_buffer.h hmath_bytes.h hmath_callback.h hmath_deeplearning.h hmath_dlpack.h hmath_error.h hmath_execution.h hmath_expression.h hmath_expression_error.h hmath_foundation.h hmath_geometry.h hmath_graph.h hmath_image.h hmath_interchange.h hmath_interchange_error.h hmath_linear.h hmath_machinelearning.h hmath_matrix.h hmath_matrix_value.h hmath_numeric.h hmath_numeric_objects.h hmath_numeric_types.h hmath_numerical.h hmath_optimization.h hmath_optimization_all.h hmath_polynomial.h hmath_rotations.h hmath_scalar_extras.h hmath_shape.h hmath_spectral.h hmath_stochastic.h hmath_tensor_bindings.h hmath_timeseries.h hmath_units.h hmath_value.h
if os(windows)
cc-options: -DHMATH_WINDOWS
else
cc-options: -DHMATH_UNIX
foreign-library hmath
type: native-shared
if os(linux)
lib-version-info: 1:0:0
hs-source-dirs: src
other-modules:
HMath.API.Algebra
HMath.API.Buffer
HMath.API.Convergence
HMath.API.Shape
HMath.Algebra
HMath.Algorithms
HMath.Autodiff
HMath.Backend
HMath.Basic
HMath.Calculus
HMath.Combinatorics
HMath.Complex
HMath.Constants
HMath.DataStructure
HMath.DeepLearning.Core
HMath.DeepLearning.Layers
HMath.DeepLearning.Metrics
HMath.DeepLearning.Precision
HMath.Discrete
HMath.Error
HMath.Expression
HMath.FFI
HMath.FFI.AlgebraAll
HMath.FFI.AlgebraCodec
HMath.FFI.Autodiff
HMath.FFI.AutodiffChecked
HMath.FFI.AutodiffValue
HMath.FFI.Boundary
HMath.FFI.Buffer
HMath.FFI.Buffer.Codec
HMath.FFI.Bytes
HMath.FFI.Coefficient
HMath.FFI.DeepLearning
HMath.FFI.Execution
HMath.FFI.Expression
HMath.FFI.Foundation
HMath.FFI.FoundationCodec
HMath.FFI.Geometry
HMath.FFI.Graph
HMath.FFI.GraphCodec
HMath.FFI.Image
HMath.FFI.InterchangeAll
HMath.FFI.InterchangeCodec
HMath.FFI.InterchangeElement
HMath.FFI.InterchangeError
HMath.FFI.LinearAll
HMath.FFI.LinearCodec
HMath.FFI.MachineLearning
HMath.FFI.MachineLearning.Codec
HMath.FFI.MachineLearning.Types
HMath.FFI.MathError
HMath.FFI.Matrix
HMath.FFI.MatrixValue
HMath.FFI.Numeric
HMath.FFI.NumericObjects
HMath.FFI.NumericTypes
HMath.FFI.NumericTypes.Core
HMath.FFI.NumericalAll
HMath.FFI.NumericalCodec
HMath.FFI.OptimizationAll
HMath.FFI.Optimizer
HMath.FFI.Ordering
HMath.FFI.Polynomial
HMath.FFI.RandomCodec
HMath.FFI.Rotations
HMath.FFI.ScalarExtras
HMath.FFI.ShapeAll
HMath.FFI.ShapeCodec
HMath.FFI.SpectralAll
HMath.FFI.Stochastic
HMath.FFI.TensorAll
HMath.FFI.TensorCodec
HMath.FFI.TimeSeries
HMath.FFI.Units
HMath.FFI.Value
HMath.Fourier
HMath.Geometry
HMath.Geometry.Collision
HMath.Geometry.Internal
HMath.Geometry.Polygon
HMath.Geometry.Primitives
HMath.Geometry.Spatial
HMath.Geometry.Transform
HMath.Geometry.Triangulation
HMath.Graph
HMath.Graph.Analysis
HMath.Graph.Core
HMath.Graph.Flow
HMath.Graph.Paths
HMath.Image.Color
HMath.Image.Core
HMath.Image.Filter
HMath.Image.Histogram
HMath.Image.Measure
HMath.Image.Spatial
HMath.Interchange.Array
HMath.Interchange.Binary
HMath.Interchange.Compression
HMath.Interchange.IO
HMath.Interchange.Numpy
HMath.Interchange.Text
HMath.Interpolation
HMath.Linear
HMath.MachineLearning
HMath.MachineLearning.Clustering
HMath.MachineLearning.Decomposition
HMath.MachineLearning.Internal
HMath.MachineLearning.Neighbors
HMath.MachineLearning.Preprocessing
HMath.MachineLearning.Regression
HMath.Matrix
HMath.Matrix.Advanced
HMath.Matrix.Decomposition
HMath.Matrix.Internal
HMath.Matrix.Iterative
HMath.Matrix.LAPACK
HMath.Matrix.LU
HMath.Matrix.QR
HMath.NumberTheory
HMath.Numeric
HMath.ODE
HMath.ODE.Tableau
HMath.Optimization.Common
HMath.Optimization.Constrained
HMath.Optimization.FirstOrder
HMath.Optimization.Global
HMath.Optimization.Local
HMath.PDE
HMath.Polynomial
HMath.Probability
HMath.Quaternion
HMath.Random
HMath.Root
HMath.Rotation
HMath.Scalar
HMath.Signal
HMath.Signal.Internal
HMath.Sparse
HMath.Sparse.Spectral
HMath.Special
HMath.Statistics
HMath.Statistics.Advanced
HMath.Symbolic
HMath.Tensor
HMath.Tensor.Mutable
HMath.TimeSeries
HMath.TimeSeries.Core
HMath.TimeSeries.Diagnostics
HMath.TimeSeries.Models
HMath.Trigonometry
HMath.Units
HMath.Vector
build-depends:
base >= 4.16 && < 5,
array >= 0.5 && < 0.6,
containers >= 0.6 && < 0.9,
bytestring >= 0.11 && < 0.13,
binary >= 0.8 && < 0.9,
text >= 1.2 && < 2.2
default-language: Haskell2010
ghc-options: -Wall -threaded
include-dirs: include cbits
c-sources: cbits/algebra.c cbits/autodiff_bindings.c cbits/backend.c cbits/buffer.c cbits/bytes.c cbits/deeplearning.c cbits/error_wire.c cbits/execution.c cbits/expression.c cbits/foundation.c cbits/geometry.c cbits/graph_bindings.c cbits/image.c cbits/interchange.c cbits/interchange_io.c cbits/linear.c cbits/machinelearning.c cbits/matrix_bindings.c cbits/matrix_value.c cbits/native.c cbits/native_dlpack.c cbits/numeric_generated.c cbits/numeric_objects.c cbits/numeric_types.c cbits/numerical.c cbits/optimization.c cbits/optimization_all.c cbits/polynomial.c cbits/rotations.c cbits/runtime.c cbits/scalar_extras.c cbits/shape.c cbits/spectral.c cbits/stochastic.c cbits/tensor_bindings.c cbits/timeseries.c cbits/units.c cbits/value.c
cc-options: -std=c11 -DHMATH_BUILD_SHARED
if flag(interchange-zlib)
cc-options: -DHMATH_HAVE_ZLIB
extra-libraries: z
if os(windows)
cc-options: -DHMATH_WINDOWS
else
cc-options: -DHMATH_UNIX
if !os(windows)
cc-options: -fvisibility=hidden
if os(linux)
extra-libraries: dl pthread
if !flag(native-backend)
cc-options: -DHMATH_DISABLE_NATIVE
if os(windows)
options: standalone
test-suite hmath-tests
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
other-modules:
MatrixSpec
LinearSpec
LUSpec
ScalarBatchSpec
AlgebraBatchSpec
ApplicationBatchSpec
DiscreteBatchSpec
ExpressionBatchSpec
GeometryBatchSpec
LinearBatchSpec
NumericalBatchSpec
IterativeBatchSpec
SparseSpectralSpec
MachineLearningBatchSpec
ProbabilityBatchSpec
SignalBatchSpec
DifferentiableBatchSpec
BackendAPISpec
InterchangeSpec
build-depends:
base >= 4.16 && < 5,
containers >= 0.6 && < 0.9,
bytestring >= 0.11 && < 0.13,
binary >= 0.8 && < 0.9,
hmath
default-language: Haskell2010
ghc-options: -Wall
benchmark hmath-criterion
type: exitcode-stdio-1.0
hs-source-dirs: bench
main-is: Main.hs
if !flag(criterion-benchmarks)
buildable: False
build-depends: base >=4.16 && <5, hmath, criterion >=1.6 && <1.7
default-language: Haskell2010
ghc-options: -Wall -rtsopts -threaded
test-suite hmath-properties
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Properties.hs
if !flag(validation-frameworks)
buildable: False
build-depends: base >=4.16 && <5, hmath, hspec >=2.10 && <3, QuickCheck >=2.14 && <3
default-language: Haskell2010
ghc-options: -Wall
executable hmath-interchange-driver
hs-source-dirs: test
main-is: interchange_driver.hs
other-modules: InterchangeSpec
build-depends:
base >=4.16 && <5,
bytestring >=0.11 && <0.13,
binary >=0.8 && <0.9,
directory >=1.3 && <1.4,
filepath >=1.4 && <1.6,
hmath
default-language: Haskell2010
ghc-options: -Wall -threaded