natural-0.5.0.1: natural.cabal
cabal-version: 2.4
name: natural
version: 0.5.0.1
synopsis: Natural number
description:
Natural number with lens integration.
.
<<https://logo.systemf.com.au/systemf-450x450.png>>
license: BSD-3-Clause
license-file: LICENCE
author: Tony Morris <tmorris@tmorris.net>
maintainer: Tony Morris <tmorris@tmorris.net>
category: Data
build-type: Simple
extra-doc-files: changelog.md
, README.md
homepage: https://gitlab.com/system-f/code/natural
bug-reports: https://gitlab.com/system-f/code/natural/-/issues
tested-with: GHC == 9.6.7
flag dev
description: Enable development warnings (-Werror, -O2 for benchmarks)
manual: True
default: False
source-repository head
type: git
location: https://gitlab.com/system-f/code/natural.git
library
exposed-modules:
Natural
build-depends: base >= 4.8 && < 6
, aeson >= 1.4 && < 3
, lens >= 4.15 && < 6
, semigroupoids >= 5 && < 7
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
if flag(dev)
ghc-options: -Werror
benchmark bench
type: exitcode-stdio-1.0
hs-source-dirs: benchmarks
main-is: Main.hs
build-depends: base >= 4.8 && < 6
, tasty-bench >= 0.3 && < 1
, natural
default-language: Haskell2010
ghc-options: -Wall
if flag(dev)
ghc-options: -Werror -O2
test-suite doctest
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
build-depends: base >= 4.8 && < 6
, process >= 1 && < 2
build-tool-depends: doctest:doctest >= 0.22 && < 1
default-language: Haskell2010
ghc-options: -Wall