2019-03-20 07:46:26 +03:00
|
|
|
name: polysemy
|
2021-11-23 20:41:58 +03:00
|
|
|
version: 1.7.1.0
|
2020-09-08 15:18:38 +03:00
|
|
|
github: "polysemy-research/polysemy"
|
2019-02-13 23:52:56 +03:00
|
|
|
license: BSD3
|
|
|
|
author: "Sandy Maguire"
|
|
|
|
maintainer: "sandy@sandymaguire.me"
|
2021-11-17 02:10:50 +03:00
|
|
|
copyright: "2019-2021 Sandy Maguire"
|
2019-10-28 19:25:30 +03:00
|
|
|
build-type: Custom
|
2019-02-13 23:52:56 +03:00
|
|
|
|
|
|
|
extra-source-files:
|
|
|
|
- README.md
|
|
|
|
- ChangeLog.md
|
|
|
|
|
2020-11-01 00:47:25 +03:00
|
|
|
synopsis: Higher-order, low-boilerplate free monads.
|
2019-04-10 23:27:25 +03:00
|
|
|
category: Language
|
2019-02-13 23:52:56 +03:00
|
|
|
|
2021-06-25 20:26:27 +03:00
|
|
|
description: Please see the README on GitHub at <https://github.com/polysemy-research/polysemy#readme>
|
2019-02-13 23:52:56 +03:00
|
|
|
|
|
|
|
dependencies:
|
2019-06-20 00:25:37 +03:00
|
|
|
- base >= 4.9 && < 5
|
|
|
|
- containers >= 0.5 && < 0.7
|
|
|
|
- mtl >= 2.2.2 && < 3
|
|
|
|
- syb >= 0.7 && < 0.8
|
2019-08-16 00:23:06 +03:00
|
|
|
- stm >= 2 && < 3
|
2019-06-20 00:25:37 +03:00
|
|
|
- template-haskell >= 2.12.0.0 && < 3
|
2020-10-23 10:56:15 +03:00
|
|
|
- th-abstraction >= 0.3.1.0 && < 0.5
|
2019-06-20 00:25:37 +03:00
|
|
|
- transformers >= 0.5.2.0 && < 0.6
|
2020-03-10 10:35:34 +03:00
|
|
|
- first-class-families >= 0.5.0.0 && < 0.9
|
2019-06-26 06:46:54 +03:00
|
|
|
- unagi-chan >= 0.4.0.0 && < 0.5
|
|
|
|
- async >= 2.2 && < 3
|
2019-07-03 23:05:51 +03:00
|
|
|
- type-errors >= 0.2.0.0
|
2019-02-13 23:52:56 +03:00
|
|
|
|
2019-10-28 19:25:30 +03:00
|
|
|
custom-setup:
|
|
|
|
dependencies:
|
|
|
|
- base >= 4.9 && < 5
|
|
|
|
- Cabal
|
|
|
|
- cabal-doctest >=1.0.6 && <1.1
|
|
|
|
|
2019-04-20 13:57:56 +03:00
|
|
|
default-extensions:
|
2021-12-02 20:32:27 +03:00
|
|
|
- BlockArguments
|
2019-04-20 13:57:56 +03:00
|
|
|
- DataKinds
|
|
|
|
- DeriveFunctor
|
|
|
|
- FlexibleContexts
|
|
|
|
- GADTs
|
|
|
|
- LambdaCase
|
|
|
|
- PolyKinds
|
|
|
|
- RankNTypes
|
|
|
|
- ScopedTypeVariables
|
|
|
|
- StandaloneDeriving
|
|
|
|
- TypeApplications
|
|
|
|
- TypeOperators
|
|
|
|
- TypeFamilies
|
|
|
|
- UnicodeSyntax
|
|
|
|
|
2019-06-20 00:25:37 +03:00
|
|
|
when:
|
|
|
|
- condition: impl(ghc < 8.6)
|
|
|
|
default-extensions:
|
|
|
|
- MonadFailDesugaring
|
|
|
|
- TypeInType
|
|
|
|
|
2019-03-18 04:03:23 +03:00
|
|
|
flags:
|
|
|
|
dump-core:
|
|
|
|
description: Dump HTML for the core generated by GHC during compilation
|
2019-03-19 06:04:21 +03:00
|
|
|
default: False
|
2019-03-18 04:03:23 +03:00
|
|
|
manual: True
|
|
|
|
|
2019-02-13 23:52:56 +03:00
|
|
|
library:
|
2019-05-23 10:49:26 +03:00
|
|
|
ghc-options: -Wall
|
2019-02-13 23:52:56 +03:00
|
|
|
source-dirs: src
|
2019-05-16 22:26:18 +03:00
|
|
|
other-modules: Polysemy.Internal.PluginLookup
|
2020-10-23 12:00:23 +03:00
|
|
|
generated-other-modules:
|
|
|
|
- Paths_polysemy
|
2019-03-20 16:53:22 +03:00
|
|
|
|
2019-03-18 04:03:23 +03:00
|
|
|
when:
|
|
|
|
- condition: flag(dump-core)
|
2019-04-08 20:47:07 +03:00
|
|
|
dependencies:
|
|
|
|
- dump-core
|
|
|
|
ghc-options:
|
|
|
|
- -fplugin=DumpCore
|
2019-07-01 09:13:37 +03:00
|
|
|
- -fplugin-opt=DumpCore:core-html
|
2019-04-08 20:47:07 +03:00
|
|
|
|
2019-06-20 00:25:37 +03:00
|
|
|
- condition: impl(ghc < 8.2.2)
|
|
|
|
dependencies:
|
|
|
|
- unsupported-ghc-version > 1 && < 1
|
|
|
|
|
2019-02-13 23:52:56 +03:00
|
|
|
tests:
|
2019-03-20 07:46:26 +03:00
|
|
|
polysemy-test:
|
2019-03-19 06:04:21 +03:00
|
|
|
main: Main.hs
|
2019-02-13 23:52:56 +03:00
|
|
|
source-dirs: test
|
|
|
|
ghc-options:
|
|
|
|
- -threaded
|
|
|
|
- -rtsopts
|
|
|
|
- -with-rtsopts=-N
|
2019-06-16 03:12:18 +03:00
|
|
|
build-tools:
|
|
|
|
- hspec-discover >= 2.0
|
2019-02-13 23:52:56 +03:00
|
|
|
dependencies:
|
2019-03-20 07:46:26 +03:00
|
|
|
- polysemy
|
2019-06-26 06:46:54 +03:00
|
|
|
- inspection-testing >= 0.4.2 && < 0.5
|
2019-05-18 18:42:14 +03:00
|
|
|
- hspec >= 2.6.0 && < 3
|
2021-05-03 17:45:18 +03:00
|
|
|
- doctest >= 0.16.0.1 && < 0.19
|
2020-10-23 10:56:15 +03:00
|
|
|
generated-other-modules:
|
|
|
|
- Build_doctests
|
2019-02-22 03:34:06 +03:00
|
|
|
|