Initial commit

This commit is contained in:
2022-10-07 18:59:44 +02:00
commit 11cd3ee503
8 changed files with 476 additions and 0 deletions

53
petzval-hs.cabal Normal file
View File

@@ -0,0 +1,53 @@
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
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,
petzval-hs
hs-source-dirs: app
library
import: base
exposed-modules:
Petzval.Optics
Petzval.Optics.RTM
Petzval.System
hs-source-dirs: lib
build-depends: base ^>=4.15.1.0,
lens ^>=5.2,
ad ^>=4.5.2,
linear ^>=1.21,