cabal-version: 3.0 name: ox-arrays version: 0.1.0.0 author: Tom Smeding license: BSD-3-Clause build-type: Simple extra-source-files: cbits/arith_lists.h flag trace-wrappers description: Compile modules that define wrappers around the array methods that trace their arguments and results. This is conditional on a flag because these modules make documentation generation fail. (https://gitlab.haskell.org/ghc/ghc/-/issues/24964 , should be fixed in GHC 9.12) default: False manual: True library exposed-modules: Data.Array.Mixed.Internal.Arith Data.Array.Mixed.Internal.Arith.Foreign Data.Array.Mixed.Internal.Arith.Lists Data.Array.Mixed.Internal.Arith.Lists.TH Data.Array.Mixed.Lemmas Data.Array.Mixed.Permutation Data.Array.Mixed.Shape Data.Array.Mixed.Types Data.Array.Mixed.XArray Data.Array.Nested Data.Array.Nested.Internal.Convert Data.Array.Nested.Internal.Mixed Data.Array.Nested.Internal.Lemmas Data.Array.Nested.Internal.Ranked Data.Array.Nested.Internal.Shape Data.Array.Nested.Internal.Shaped if flag(trace-wrappers) exposed-modules: Data.Array.Nested.Trace Data.Array.Nested.Trace.TH build-depends: base >=4.18 && <4.20, deepseq, ghc-typelits-knownnat, ghc-typelits-natnormalise, orthotope, template-haskell, vector hs-source-dirs: src c-sources: cbits/arith.c cc-options: -O3 -Wall -Wextra -std=c99 if arch(x86_64) || arch(i386) -- hmatrix assumes sse2, so we can too cc-options: -msse2 default-language: Haskell2010 ghc-options: -Wall other-extensions: TemplateHaskell test-suite test type: exitcode-stdio-1.0 main-is: Main.hs other-modules: Gen Tests.C Tests.Permutation Util build-depends: ox-arrays, base, bytestring, ghc-typelits-knownnat, ghc-typelits-natnormalise, hedgehog, orthotope, random, tasty, tasty-hedgehog, vector hs-source-dirs: test default-language: Haskell2010 ghc-options: -Wall test-suite example type: exitcode-stdio-1.0 main-is: Main.hs build-depends: ox-arrays, base hs-source-dirs: example default-language: Haskell2010 ghc-options: -Wall benchmark bench type: exitcode-stdio-1.0 main-is: Main.hs build-depends: ox-arrays, base, hmatrix, orthotope, tasty-bench, vector hs-source-dirs: bench default-language: Haskell2010 ghc-options: -Wall