2020-11-14 20:22:08 +03:00
|
|
|
cabal-version: >= 1.10
|
2020-11-14 19:54:45 +03:00
|
|
|
|
2021-04-10 20:34:26 +03:00
|
|
|
name: witch
|
|
|
|
version: 0.0.0.5
|
|
|
|
synopsis: Convert values from one type into another.
|
|
|
|
description: Witch converts values from one type into another.
|
|
|
|
|
2020-11-14 19:54:45 +03:00
|
|
|
build-type: Simple
|
|
|
|
category: Data
|
2020-11-14 20:45:00 +03:00
|
|
|
extra-source-files: CHANGELOG.markdown README.markdown
|
2020-11-14 19:54:45 +03:00
|
|
|
license-file: LICENSE.txt
|
|
|
|
license: ISC
|
|
|
|
maintainer: Taylor Fausak
|
|
|
|
|
|
|
|
source-repository head
|
|
|
|
location: https://github.com/tfausak/witch
|
|
|
|
type: git
|
|
|
|
|
|
|
|
library
|
|
|
|
build-depends:
|
2021-04-10 20:34:26 +03:00
|
|
|
base
|
|
|
|
, template-haskell
|
2020-11-14 20:22:08 +03:00
|
|
|
default-language: Haskell2010
|
2021-04-10 20:34:26 +03:00
|
|
|
exposed-modules:
|
|
|
|
Witch
|
|
|
|
Witch.Cast
|
|
|
|
Witch.Identity
|
2021-04-10 20:56:15 +03:00
|
|
|
Witch.Lift
|
2021-04-10 20:34:26 +03:00
|
|
|
Witch.TryCast
|
|
|
|
Witch.TryCastException
|
|
|
|
Witch.Utility
|
2020-11-14 19:54:45 +03:00
|
|
|
ghc-options:
|
|
|
|
-Weverything
|
|
|
|
-Wno-implicit-prelude
|
2021-04-10 20:34:26 +03:00
|
|
|
-Wno-missing-deriving-strategies
|
|
|
|
-Wno-missing-export-lists
|
|
|
|
-Wno-missing-exported-signatures
|
|
|
|
-Wno-missing-safe-haskell-mode
|
|
|
|
-Wno-prepositive-qualified-module
|
2020-11-18 19:40:35 +03:00
|
|
|
-Wno-redundant-constraints
|
2020-11-14 19:54:45 +03:00
|
|
|
-Wno-safe
|
|
|
|
-Wno-unsafe
|
|
|
|
hs-source-dirs: src/lib
|
|
|
|
|
2021-04-10 20:56:15 +03:00
|
|
|
if impl(ghc >= 9.0)
|
|
|
|
hs-source-dirs: src/ghc-9.0
|
|
|
|
else
|
|
|
|
if impl(ghc >= 8.10)
|
|
|
|
hs-source-dirs: src/ghc-8.10
|
|
|
|
else
|
|
|
|
hs-source-dirs: src/ghc-8.8
|
|
|
|
|
2020-11-14 19:54:45 +03:00
|
|
|
test-suite test
|
|
|
|
build-depends:
|
|
|
|
base
|
2021-04-10 20:34:26 +03:00
|
|
|
, HUnit
|
2020-11-14 19:54:45 +03:00
|
|
|
, witch
|
2020-11-14 20:22:08 +03:00
|
|
|
default-language: Haskell2010
|
2020-11-14 19:54:45 +03:00
|
|
|
hs-source-dirs: src/test
|
|
|
|
main-is: Main.hs
|
|
|
|
type: exitcode-stdio-1.0
|