2019-03-20 07:46:26 +03:00
|
|
|
name: polysemy
|
2019-06-09 07:22:20 +03:00
|
|
|
version: 0.3.0.1
|
2019-03-20 07:46:26 +03:00
|
|
|
github: "isovector/polysemy"
|
2019-02-13 23:52:56 +03:00
|
|
|
license: BSD3
|
|
|
|
author: "Sandy Maguire"
|
|
|
|
maintainer: "sandy@sandymaguire.me"
|
|
|
|
copyright: "2019 Sandy Maguire"
|
|
|
|
|
|
|
|
extra-source-files:
|
|
|
|
- README.md
|
|
|
|
- ChangeLog.md
|
|
|
|
|
2019-04-10 23:27:25 +03:00
|
|
|
synopsis: Higher-order, low-boilerplate, zero-cost free monads.
|
|
|
|
category: Language
|
2019-02-13 23:52:56 +03:00
|
|
|
|
2019-03-20 07:46:26 +03:00
|
|
|
description: Please see the README on GitHub at <https://github.com/isovector/polysemy#readme>
|
2019-02-13 23:52:56 +03:00
|
|
|
|
|
|
|
dependencies:
|
|
|
|
- base >= 4.7 && < 5
|
2019-06-02 01:42:12 +03:00
|
|
|
- containers >= 0.6 && <= 0.7
|
2019-05-18 18:42:14 +03:00
|
|
|
- mtl >= 2.2.2 && <3
|
2019-06-02 01:42:12 +03:00
|
|
|
- syb >= 0.7 && <= 0.8
|
2019-05-18 18:42:14 +03:00
|
|
|
- template-haskell >= 2.14.0.0 && <2.15
|
2019-05-29 21:15:46 +03:00
|
|
|
- th-abstraction >= 0.3 && <= 0.4
|
2019-06-02 01:42:12 +03:00
|
|
|
- transformers >= 0.5.5.0 && < 0.6
|
2019-02-13 23:52:56 +03:00
|
|
|
|
2019-04-20 13:57:56 +03:00
|
|
|
default-extensions:
|
|
|
|
- DataKinds
|
|
|
|
- DeriveFunctor
|
|
|
|
- FlexibleContexts
|
|
|
|
- GADTs
|
|
|
|
- LambdaCase
|
|
|
|
- PolyKinds
|
|
|
|
- RankNTypes
|
|
|
|
- ScopedTypeVariables
|
|
|
|
- StandaloneDeriving
|
|
|
|
- TypeApplications
|
|
|
|
- TypeOperators
|
|
|
|
- TypeFamilies
|
|
|
|
|
|
|
|
- UnicodeSyntax
|
|
|
|
|
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-04-08 20:47:07 +03:00
|
|
|
error-messages:
|
|
|
|
description: Provide custom error messages
|
|
|
|
default: True
|
|
|
|
manual: True
|
2019-03-18 04:03:23 +03:00
|
|
|
|
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
|
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
|
|
|
|
- -fplugin-opt DumpCore:core-html
|
|
|
|
|
|
|
|
- condition: flag(error-messages)
|
|
|
|
cpp-options: -DERROR_MESSAGES
|
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
|
|
|
|
dependencies:
|
2019-03-20 07:46:26 +03:00
|
|
|
- polysemy
|
2019-05-18 18:42:14 +03:00
|
|
|
- inspection-testing >= 0.4.1.1 && < 0.5
|
|
|
|
- hspec >= 2.6.0 && < 3
|
2019-02-22 03:34:06 +03:00
|
|
|
|
|
|
|
benchmarks:
|
2019-03-20 07:46:26 +03:00
|
|
|
polysemy-bench:
|
2019-02-22 03:34:06 +03:00
|
|
|
source-dirs: bench
|
|
|
|
main: countDown.hs
|
|
|
|
dependencies:
|
|
|
|
- criterion
|
|
|
|
- free
|
|
|
|
- freer-simple
|
|
|
|
- mtl
|
2019-03-20 07:46:26 +03:00
|
|
|
- polysemy
|
|
|
|
|