2019-04-11 00:23:24 +03:00
|
|
|
cabal-version: 1.12
|
|
|
|
|
|
|
|
-- This file has been generated from package.yaml by hpack version 0.31.1.
|
|
|
|
--
|
|
|
|
-- see: https://github.com/sol/hpack
|
|
|
|
--
|
2019-05-31 07:06:46 +03:00
|
|
|
-- hash: b20555250cc9624a2c4d56da690b1e2a110f7a0b6e8411f31fc8dbc544e10856
|
2019-04-11 00:23:24 +03:00
|
|
|
|
|
|
|
name: polysemy
|
2019-05-27 08:16:14 +03:00
|
|
|
version: 0.2.1.0
|
2019-04-11 00:23:24 +03:00
|
|
|
synopsis: Higher-order, low-boilerplate, zero-cost free monads.
|
|
|
|
description: Please see the README on GitHub at <https://github.com/isovector/polysemy#readme>
|
|
|
|
category: Language
|
|
|
|
homepage: https://github.com/isovector/polysemy#readme
|
|
|
|
bug-reports: https://github.com/isovector/polysemy/issues
|
|
|
|
author: Sandy Maguire
|
|
|
|
maintainer: sandy@sandymaguire.me
|
|
|
|
copyright: 2019 Sandy Maguire
|
|
|
|
license: BSD3
|
|
|
|
license-file: LICENSE
|
|
|
|
build-type: Simple
|
|
|
|
extra-source-files:
|
|
|
|
README.md
|
|
|
|
ChangeLog.md
|
|
|
|
|
|
|
|
source-repository head
|
|
|
|
type: git
|
|
|
|
location: https://github.com/isovector/polysemy
|
|
|
|
|
|
|
|
flag dump-core
|
|
|
|
description: Dump HTML for the core generated by GHC during compilation
|
|
|
|
manual: True
|
|
|
|
default: False
|
|
|
|
|
|
|
|
flag error-messages
|
|
|
|
description: Provide custom error messages
|
|
|
|
manual: True
|
|
|
|
default: True
|
|
|
|
|
|
|
|
library
|
|
|
|
exposed-modules:
|
|
|
|
Polysemy
|
|
|
|
Polysemy.Error
|
|
|
|
Polysemy.Fixpoint
|
|
|
|
Polysemy.Input
|
|
|
|
Polysemy.Internal
|
|
|
|
Polysemy.Internal.Combinators
|
|
|
|
Polysemy.Internal.CustomErrors
|
|
|
|
Polysemy.Internal.Effect
|
|
|
|
Polysemy.Internal.Fixpoint
|
|
|
|
Polysemy.Internal.Lift
|
|
|
|
Polysemy.Internal.NonDet
|
|
|
|
Polysemy.Internal.Tactics
|
|
|
|
Polysemy.Internal.TH.Effect
|
|
|
|
Polysemy.Internal.TH.Performance
|
|
|
|
Polysemy.Internal.Union
|
2019-04-14 22:00:29 +03:00
|
|
|
Polysemy.IO
|
2019-04-11 00:23:24 +03:00
|
|
|
Polysemy.NonDet
|
|
|
|
Polysemy.Output
|
|
|
|
Polysemy.Random
|
|
|
|
Polysemy.Reader
|
|
|
|
Polysemy.Resource
|
|
|
|
Polysemy.State
|
|
|
|
Polysemy.Trace
|
|
|
|
Polysemy.Writer
|
|
|
|
other-modules:
|
2019-05-16 22:26:18 +03:00
|
|
|
Polysemy.Internal.PluginLookup
|
2019-04-11 00:23:24 +03:00
|
|
|
hs-source-dirs:
|
|
|
|
src
|
|
|
|
default-extensions: DataKinds DeriveFunctor FlexibleContexts GADTs LambdaCase PolyKinds RankNTypes ScopedTypeVariables StandaloneDeriving TypeApplications TypeOperators TypeFamilies UnicodeSyntax
|
2019-05-23 10:49:26 +03:00
|
|
|
ghc-options: -Wall
|
2019-04-11 00:23:24 +03:00
|
|
|
build-depends:
|
|
|
|
base >=4.7 && <5
|
2019-05-18 18:42:14 +03:00
|
|
|
, mtl >=2.2.2 && <3
|
|
|
|
, random >=1.1 && <1.2
|
|
|
|
, syb >=0.7 && <0.8
|
|
|
|
, template-haskell >=2.14.0.0 && <2.15
|
|
|
|
, transformers >=0.5.5.0 && <0.6
|
2019-04-11 00:23:24 +03:00
|
|
|
if flag(dump-core)
|
|
|
|
ghc-options: -fplugin=DumpCore -fplugin-opt DumpCore:core-html
|
|
|
|
build-depends:
|
|
|
|
dump-core
|
|
|
|
if flag(error-messages)
|
|
|
|
cpp-options: -DERROR_MESSAGES
|
|
|
|
default-language: Haskell2010
|
|
|
|
|
|
|
|
test-suite polysemy-test
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
main-is: Main.hs
|
|
|
|
other-modules:
|
2019-05-27 08:16:14 +03:00
|
|
|
AlternativeSpec
|
2019-04-11 00:23:24 +03:00
|
|
|
FusionSpec
|
2019-05-23 10:49:26 +03:00
|
|
|
HigherOrderSpec
|
2019-05-31 07:06:46 +03:00
|
|
|
InspectorSpec
|
2019-04-20 13:57:56 +03:00
|
|
|
OutputSpec
|
2019-04-11 00:23:24 +03:00
|
|
|
Paths_polysemy
|
|
|
|
hs-source-dirs:
|
|
|
|
test
|
2019-04-20 13:57:56 +03:00
|
|
|
default-extensions: DataKinds DeriveFunctor FlexibleContexts GADTs LambdaCase PolyKinds RankNTypes ScopedTypeVariables StandaloneDeriving TypeApplications TypeOperators TypeFamilies UnicodeSyntax
|
2019-04-11 00:23:24 +03:00
|
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
|
|
build-depends:
|
|
|
|
base >=4.7 && <5
|
2019-05-18 18:42:14 +03:00
|
|
|
, hspec >=2.6.0 && <3
|
|
|
|
, inspection-testing >=0.4.1.1 && <0.5
|
|
|
|
, mtl >=2.2.2 && <3
|
2019-04-11 00:23:24 +03:00
|
|
|
, polysemy
|
2019-05-18 18:42:14 +03:00
|
|
|
, random >=1.1 && <1.2
|
|
|
|
, syb >=0.7 && <0.8
|
|
|
|
, template-haskell >=2.14.0.0 && <2.15
|
|
|
|
, transformers >=0.5.5.0 && <0.6
|
2019-04-11 00:23:24 +03:00
|
|
|
default-language: Haskell2010
|
|
|
|
|
|
|
|
benchmark polysemy-bench
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
main-is: countDown.hs
|
|
|
|
other-modules:
|
|
|
|
Poly
|
|
|
|
Paths_polysemy
|
|
|
|
hs-source-dirs:
|
|
|
|
bench
|
2019-04-20 13:57:56 +03:00
|
|
|
default-extensions: DataKinds DeriveFunctor FlexibleContexts GADTs LambdaCase PolyKinds RankNTypes ScopedTypeVariables StandaloneDeriving TypeApplications TypeOperators TypeFamilies UnicodeSyntax
|
2019-04-11 00:23:24 +03:00
|
|
|
build-depends:
|
|
|
|
base >=4.7 && <5
|
|
|
|
, criterion
|
|
|
|
, free
|
|
|
|
, freer-simple
|
|
|
|
, mtl
|
|
|
|
, polysemy
|
2019-05-18 18:42:14 +03:00
|
|
|
, random >=1.1 && <1.2
|
|
|
|
, syb >=0.7 && <0.8
|
|
|
|
, template-haskell >=2.14.0.0 && <2.15
|
|
|
|
, transformers >=0.5.5.0 && <0.6
|
2019-04-11 00:23:24 +03:00
|
|
|
default-language: Haskell2010
|