mirror of
https://github.com/polysemy-research/polysemy.git
synced 2024-12-02 02:43:39 +03:00
5e638ebfb0
* Remove Polysemy.Law * Beter changelog
113 lines
2.4 KiB
YAML
113 lines
2.4 KiB
YAML
name: polysemy
|
|
version: 1.7.1.0
|
|
github: "polysemy-research/polysemy"
|
|
license: BSD3
|
|
author: "Sandy Maguire"
|
|
maintainer: "sandy@sandymaguire.me"
|
|
copyright: "2019-2021 Sandy Maguire"
|
|
build-type: Custom
|
|
|
|
extra-source-files:
|
|
- README.md
|
|
- ChangeLog.md
|
|
|
|
synopsis: Higher-order, low-boilerplate free monads.
|
|
category: Language
|
|
|
|
description: Please see the README on GitHub at <https://github.com/polysemy-research/polysemy#readme>
|
|
|
|
dependencies:
|
|
- base >= 4.9 && < 5
|
|
- containers >= 0.5 && < 0.7
|
|
- mtl >= 2.2.2 && < 3
|
|
- syb >= 0.7 && < 0.8
|
|
- stm >= 2 && < 3
|
|
- template-haskell >= 2.12.0.0 && < 3
|
|
- th-abstraction >= 0.3.1.0 && < 0.5
|
|
- transformers >= 0.5.2.0 && < 0.6
|
|
- first-class-families >= 0.5.0.0 && < 0.9
|
|
- unagi-chan >= 0.4.0.0 && < 0.5
|
|
- async >= 2.2 && < 3
|
|
- type-errors >= 0.2.0.0
|
|
|
|
custom-setup:
|
|
dependencies:
|
|
- base >= 4.9 && < 5
|
|
- Cabal
|
|
- cabal-doctest >=1.0.6 && <1.1
|
|
|
|
default-extensions:
|
|
- DataKinds
|
|
- DeriveFunctor
|
|
- FlexibleContexts
|
|
- GADTs
|
|
- LambdaCase
|
|
- PolyKinds
|
|
- RankNTypes
|
|
- ScopedTypeVariables
|
|
- StandaloneDeriving
|
|
- TypeApplications
|
|
- TypeOperators
|
|
- TypeFamilies
|
|
- UnicodeSyntax
|
|
|
|
when:
|
|
- condition: impl(ghc < 8.6)
|
|
default-extensions:
|
|
- MonadFailDesugaring
|
|
- TypeInType
|
|
|
|
flags:
|
|
dump-core:
|
|
description: Dump HTML for the core generated by GHC during compilation
|
|
default: False
|
|
manual: True
|
|
|
|
library:
|
|
ghc-options: -Wall
|
|
source-dirs: src
|
|
other-modules: Polysemy.Internal.PluginLookup
|
|
generated-other-modules:
|
|
- Paths_polysemy
|
|
|
|
when:
|
|
- condition: flag(dump-core)
|
|
dependencies:
|
|
- dump-core
|
|
ghc-options:
|
|
- -fplugin=DumpCore
|
|
- -fplugin-opt=DumpCore:core-html
|
|
|
|
- condition: impl(ghc < 8.2.2)
|
|
dependencies:
|
|
- unsupported-ghc-version > 1 && < 1
|
|
|
|
tests:
|
|
polysemy-test:
|
|
main: Main.hs
|
|
source-dirs: test
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
build-tools:
|
|
- hspec-discover >= 2.0
|
|
dependencies:
|
|
- polysemy
|
|
- inspection-testing >= 0.4.2 && < 0.5
|
|
- hspec >= 2.6.0 && < 3
|
|
- doctest >= 0.16.0.1 && < 0.19
|
|
generated-other-modules:
|
|
- Build_doctests
|
|
|
|
benchmarks:
|
|
polysemy-bench:
|
|
source-dirs: bench
|
|
main: countDown.hs
|
|
dependencies:
|
|
- criterion
|
|
- free
|
|
- freer-simple
|
|
- mtl
|
|
- polysemy
|