Files
petzval/petzval-hs.cabal
2022-10-12 15:56:48 +02:00

81 lines
2.1 KiB
Plaintext

cabal-version: 2.4
name: petzval-hs
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: TQ Hirsch
maintainer: thequux@thequux.com
-- A copyright notice.
-- copyright:
-- category:
extra-source-files: CHANGELOG.md
common base
default-extensions: GADTs, NamedFieldPuns, ScopedTypeVariables, TemplateHaskell, RankNTypes
default-language: Haskell2010
executable petzval-hs
import: base
main-is: Main.hs
-- Modules included in this executable, other than Main.
-- other-modules:
-- LANGUAGE extensions used by modules in this package.
-- other-extensions:
build-depends: base ^>=4.15.1.0,
ad ^>=4.5.2,
linear ^>=1.21,
lens ^>=5.0,
criterion ^>=1.5,
petzval-hs
hs-source-dirs: app
executable petzval-prof
import: base
main-is: Main.hs
build-depends: base ^>=4.15.1.0,
ad ^>=4.5.2,
linear ^>=1.21,
lens ^>=5.0,
criterion ^>=1.5,
petzval-hs
hs-source-dirs: app
ghc-options:
-O2
-threaded
-fprof-auto
-rtsopts
library
import: base
exposed-modules:
Petzval.Optics
Petzval.Optics.RTM
Petzval.System
Petzval.Trace
Petzval.Calculations
Petzval.Optimization
Petzval.Types
other-modules:
Petzval.Internal.Vec
hs-source-dirs: lib
build-depends: base ^>=4.15.1.0,
lens ^>=5.0,
ad ^>=4.5.2,
linear ^>=1.21,
reflection ^>=2.1,
mtl ^>=2.2,
deepseq ^>=1.4