-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnumhask-array.cabal
78 lines (68 loc) · 2.05 KB
/
numhask-array.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
cabal-version: 3.0
name: numhask-array
version: 0.11.1.0
license: BSD-3-Clause
license-file: LICENSE
copyright: Tony Day (c) 2016
category: math
author: Tony Day
maintainer: [email protected]
homepage: https://github.com/tonyday567/numhask-array#readme
bug-reports: https://github.com/tonyday567/numhask-array/issues
synopsis: Multi-dimensional arrays.
description:
This package provides an interface into the [numhask](https://hackage.haskell.org/package/numhask) API, and both type- and value-level shape manipulation routines.
== Usage
>>> {-# LANGUAGE RebindableSyntax #-}
>>> import NumHask.Prelude
>>> import NumHask.Array
In situations where shape is only known at runtime, a clear module configuration is:
>>> import NumHask.Array.Shape
>>> import qualified NumHask.Array.Fixed as F
>>> import qualified NumHask.Array.Dynamic as D
build-type: Simple
tested-with:
, GHC == 9.10.1
, GHC == 9.8.2
, GHC == 9.6.5
extra-doc-files: ChangeLog.md
source-repository head
type: git
location: https://github.com/tonyday567/numhask-array
common ghc-options-stanza
ghc-options:
-Wall
-Wcompat
-Widentities
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wpartial-fields
-Wredundant-constraints
common ghc2021-stanza
default-language: GHC2021
library
import: ghc-options-stanza
import: ghc2021-stanza
hs-source-dirs: src
build-depends:
, adjunctions >=4.0 && <5
, base >=4.14 && <5
, distributive >=0.4 && <0.7
, numhask >=0.11 && <0.13
, vector >=0.12.3 && <0.14
exposed-modules:
NumHask.Array
NumHask.Array.Dynamic
NumHask.Array.Fixed
NumHask.Array.Shape
test-suite doctests
import: ghc2021-stanza
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: doctests.hs
ghc-options: -threaded
build-depends:
, base
, numhask-array
, doctest-parallel >=0.3 && <0.4
default-extensions: RebindableSyntax