55 lines
1,014 B
Plaintext
55 lines
1,014 B
Plaintext
cabal-version: 3.4
|
|
name: dependent-if
|
|
version: 0.1.0.0
|
|
|
|
-- synopsis:
|
|
-- description:
|
|
homepage: https://sr.ht/~mangoiv/dependent-if
|
|
license: MIT
|
|
license-file: LICENSE
|
|
author: mangoiv
|
|
maintainer: contact@mangoiv.com
|
|
|
|
-- copyright:
|
|
category: Data
|
|
build-type: Simple
|
|
extra-doc-files: CHANGELOG.md
|
|
|
|
-- extra-source-files:
|
|
|
|
common warnings
|
|
ghc-options: -Wall
|
|
|
|
common extensions
|
|
default-extensions:
|
|
BlockArguments
|
|
DataKinds
|
|
DerivingStrategies
|
|
GADTs
|
|
LambdaCase
|
|
TypeFamilies
|
|
|
|
library
|
|
import:
|
|
, warnings
|
|
, extensions
|
|
|
|
exposed-modules: Data.Bool.IfThenElse
|
|
build-depends: base ^>=4.16.3.0
|
|
hs-source-dirs: src
|
|
default-language: GHC2021
|
|
|
|
test-suite dependent-if-test
|
|
import:
|
|
, warnings
|
|
, extensions
|
|
|
|
default-language: GHC2021
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: test
|
|
main-is: Main.hs
|
|
build-depends:
|
|
, base ^>=4.16.3.0
|
|
, dependent-if
|
|
, HUnit
|