2020-10-23 10:56:15 +03:00
|
|
|
cabal-version: 2.0
|
2019-05-24 00:06:24 +03:00
|
|
|
|
2023-04-09 15:07:06 +03:00
|
|
|
-- This file has been generated from package.yaml by hpack version 0.35.2.
|
2019-05-24 00:06:24 +03:00
|
|
|
--
|
|
|
|
-- see: https://github.com/sol/hpack
|
|
|
|
|
|
|
|
name: polysemy-plugin
|
2023-12-29 16:27:12 +03:00
|
|
|
version: 0.4.5.2
|
2019-05-24 00:06:24 +03:00
|
|
|
synopsis: Disambiguate obvious uses of effects.
|
2021-06-25 20:26:27 +03:00
|
|
|
description: Please see the README on GitHub at <https://github.com/polysemy-research/polysemy/tree/master/polysemy-plugin#readme>
|
2019-05-24 00:06:24 +03:00
|
|
|
category: Polysemy
|
2021-03-27 18:04:06 +03:00
|
|
|
homepage: https://github.com/polysemy-research/polysemy#readme
|
|
|
|
bug-reports: https://github.com/polysemy-research/polysemy/issues
|
2019-05-24 00:06:24 +03:00
|
|
|
author: Sandy Maguire
|
|
|
|
maintainer: sandy@sandymaguire.me
|
|
|
|
copyright: 2019 Sandy Maguire
|
|
|
|
license: BSD3
|
|
|
|
license-file: LICENSE
|
2019-10-28 19:13:44 +03:00
|
|
|
build-type: Custom
|
2019-05-24 00:06:24 +03:00
|
|
|
extra-source-files:
|
|
|
|
README.md
|
|
|
|
ChangeLog.md
|
|
|
|
|
|
|
|
source-repository head
|
|
|
|
type: git
|
2021-03-27 18:04:06 +03:00
|
|
|
location: https://github.com/polysemy-research/polysemy
|
2019-05-24 00:06:24 +03:00
|
|
|
|
2019-10-28 19:13:44 +03:00
|
|
|
custom-setup
|
2019-10-28 19:25:30 +03:00
|
|
|
setup-depends:
|
2024-07-07 20:31:39 +03:00
|
|
|
Cabal <3.13
|
2019-10-28 19:25:30 +03:00
|
|
|
, base >=4.9 && <5
|
|
|
|
, cabal-doctest >=1.0.6 && <1.1
|
2019-10-28 19:13:44 +03:00
|
|
|
|
2019-10-29 15:24:39 +03:00
|
|
|
flag corelint
|
|
|
|
description: Perform the corelint tests
|
|
|
|
manual: True
|
|
|
|
default: False
|
|
|
|
|
2019-05-24 00:06:24 +03:00
|
|
|
library
|
|
|
|
exposed-modules:
|
|
|
|
Polysemy.Plugin
|
|
|
|
Polysemy.Plugin.Fundep
|
2019-07-05 21:14:45 +03:00
|
|
|
Polysemy.Plugin.Fundep.Stuff
|
|
|
|
Polysemy.Plugin.Fundep.Unification
|
|
|
|
Polysemy.Plugin.Fundep.Utils
|
2019-05-24 00:06:24 +03:00
|
|
|
other-modules:
|
|
|
|
Paths_polysemy_plugin
|
2020-10-23 12:00:23 +03:00
|
|
|
autogen-modules:
|
|
|
|
Paths_polysemy_plugin
|
2019-05-24 00:06:24 +03:00
|
|
|
hs-source-dirs:
|
|
|
|
src
|
2021-01-25 01:37:04 +03:00
|
|
|
default-extensions:
|
|
|
|
DataKinds
|
|
|
|
DeriveFunctor
|
|
|
|
FlexibleContexts
|
|
|
|
GADTs
|
|
|
|
LambdaCase
|
|
|
|
PolyKinds
|
|
|
|
RankNTypes
|
|
|
|
ScopedTypeVariables
|
|
|
|
StandaloneDeriving
|
|
|
|
TypeApplications
|
|
|
|
TypeOperators
|
|
|
|
TypeFamilies
|
|
|
|
UnicodeSyntax
|
2019-05-24 00:06:24 +03:00
|
|
|
build-depends:
|
2019-06-20 00:25:37 +03:00
|
|
|
base >=4.9 && <5
|
2024-07-07 20:31:39 +03:00
|
|
|
, containers >=0.5 && <0.8
|
2021-05-03 17:45:18 +03:00
|
|
|
, ghc >=8.6.5 && <10
|
2020-06-18 15:30:42 +03:00
|
|
|
, ghc-tcplugins-extra >=0.3 && <0.5
|
2021-11-17 02:10:50 +03:00
|
|
|
, polysemy >=1.7
|
2021-01-25 01:37:04 +03:00
|
|
|
, syb ==0.7.*
|
2023-04-06 21:22:42 +03:00
|
|
|
, transformers >=0.5.2.0 && <0.7
|
2019-05-24 00:06:24 +03:00
|
|
|
default-language: Haskell2010
|
|
|
|
|
|
|
|
test-suite polysemy-plugin-test
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
main-is: Main.hs
|
|
|
|
other-modules:
|
2021-10-23 01:29:29 +03:00
|
|
|
AmbiguousSpec
|
2019-07-04 16:35:33 +03:00
|
|
|
DoctestSpec
|
2019-05-24 00:06:24 +03:00
|
|
|
ExampleSpec
|
2021-04-21 00:33:42 +03:00
|
|
|
InsertSpec
|
2019-05-28 22:48:03 +03:00
|
|
|
LegitimateTypeErrorSpec
|
2019-09-04 18:11:01 +03:00
|
|
|
MultipleVarsSpec
|
2019-05-24 00:06:24 +03:00
|
|
|
PluginSpec
|
2019-07-04 16:35:33 +03:00
|
|
|
TypeErrors
|
2019-06-05 10:44:31 +03:00
|
|
|
VDQSpec
|
2019-05-24 00:06:24 +03:00
|
|
|
Paths_polysemy_plugin
|
2020-10-23 10:56:15 +03:00
|
|
|
Build_doctests
|
|
|
|
autogen-modules:
|
2022-10-02 19:49:17 +03:00
|
|
|
Paths_polysemy_plugin
|
2020-10-23 10:56:15 +03:00
|
|
|
Build_doctests
|
2019-05-24 00:06:24 +03:00
|
|
|
hs-source-dirs:
|
|
|
|
test
|
2021-01-25 01:37:04 +03:00
|
|
|
default-extensions:
|
|
|
|
DataKinds
|
|
|
|
DeriveFunctor
|
|
|
|
FlexibleContexts
|
|
|
|
GADTs
|
|
|
|
LambdaCase
|
|
|
|
PolyKinds
|
|
|
|
RankNTypes
|
|
|
|
ScopedTypeVariables
|
|
|
|
StandaloneDeriving
|
|
|
|
TypeApplications
|
|
|
|
TypeOperators
|
|
|
|
TypeFamilies
|
|
|
|
UnicodeSyntax
|
2019-10-29 15:24:39 +03:00
|
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N -fplugin=Polysemy.Plugin
|
2019-05-24 00:06:24 +03:00
|
|
|
build-depends:
|
2019-06-20 00:25:37 +03:00
|
|
|
base >=4.9 && <5
|
2024-07-07 20:31:39 +03:00
|
|
|
, containers >=0.5 && <0.8
|
2023-09-01 02:23:33 +03:00
|
|
|
, doctest >=0.16.0.1 && <0.23
|
2021-05-03 17:45:18 +03:00
|
|
|
, ghc >=8.6.5 && <10
|
2020-06-18 15:30:42 +03:00
|
|
|
, ghc-tcplugins-extra >=0.3 && <0.5
|
2019-05-24 00:06:24 +03:00
|
|
|
, hspec >=2.6.0 && <3
|
2022-10-17 00:12:00 +03:00
|
|
|
, hspec-discover
|
2022-12-30 00:12:45 +03:00
|
|
|
, inspection-testing >=0.4.2 && <0.6
|
2020-02-13 23:21:32 +03:00
|
|
|
, polysemy >=1.3.0.0
|
2019-05-24 00:06:24 +03:00
|
|
|
, polysemy-plugin
|
|
|
|
, should-not-typecheck >=2.1.0 && <3
|
2021-01-25 01:37:04 +03:00
|
|
|
, syb ==0.7.*
|
2023-04-06 21:22:42 +03:00
|
|
|
, transformers >=0.5.2.0 && <0.7
|
2022-12-28 17:32:14 +03:00
|
|
|
default-language: Haskell2010
|
2019-10-29 15:24:39 +03:00
|
|
|
if flag(corelint)
|
|
|
|
ghc-options: -dcore-lint -dsuppress-all
|