iso-deriving/iso-deriving.cabal
2020-04-16 14:08:51 +01:00

52 lines
1.5 KiB
Plaintext
Executable File

name: iso-deriving
version: 0.0.1
author: Hans Hoeglund
maintainer: Hans Hoeglund <hans.hoeglund@tweag.io>
license: MIT
license-file: LICENSE
synopsis: A set of libraries for composition, analysis and manipulation of music.
category: Music
tested-with: GHC
build-type: Simple
cabal-version: >= 1.10
description:
The GHC extension DerivingVia allow derivation through a specific
morphism: coerce. We present a library iso-deriving generalizing DerivingVia
to arbitrary morphisms. This is particularly useful for prototypes and
specifications of instances.
extra-source-files: README.md
source-repository head
type: git
location: git://github.com/hanshoglund/iso-deriving.git
library
build-depends: base,
profunctors
exposed-modules: Iso.Deriving
hs-source-dirs: .
default-language: Haskell2010
ghc-options:
-Wall
-Wcompat
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wredundant-constraints
-Wno-unused-top-binds
-Wno-name-shadowing
-Werror
-- TODO: Do not use -Werror by default for a library!
test-suite "iso-deriving-tests"
build-depends: base,
mtl,
iso-deriving
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
default-language: Haskell2010