Files
petzval/petzval-hs.cabal

61 lines
1.5 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
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.2,
petzval-hs
hs-source-dirs: app
library
import: base
exposed-modules:
Petzval.Optics
Petzval.Optics.RTM
Petzval.System
Petzval.Trace
Petzval.Calculations
other-modules:
Petzval.Internal.Vec
hs-source-dirs: lib
build-depends: base ^>=4.15.1.0,
lens ^>=5.2,
ad ^>=4.5.2,
linear ^>=1.21,
mtl ^>=2.2