mirror of
https://github.com/polysemy-research/polysemy.git
synced 2024-09-11 10:36:40 +03:00
Release polysemy-plugin-0.2.4.0
This commit is contained in:
parent
d7d3a938f4
commit
8aa10efa8a
@ -1,7 +1,12 @@
|
||||
# Changelog for polysemy-plugin
|
||||
|
||||
## 0.2.4.0 (2019-10-29)
|
||||
|
||||
- The plugin now works on GHC 8.8.1 (thanks to @googleson78 and @sevanspowell)
|
||||
- Improved error messages for when you forgot to include `polysemy` itself
|
||||
|
||||
## 0.2.3.0 (2019-09-04)
|
||||
|
||||
- The plugin will now choose between given effects based on the ability to unify them.
|
||||
This makes it possible for disambiguation to kick in even when using multiple
|
||||
instances of the same effect with different type variables,
|
||||
|
@ -1,5 +1,5 @@
|
||||
name: polysemy-plugin
|
||||
version: 0.2.3.0
|
||||
version: 0.2.4.0
|
||||
github: "isovector/polysemy"
|
||||
license: BSD3
|
||||
author: "Sandy Maguire"
|
||||
@ -34,6 +34,12 @@ custom-setup:
|
||||
library:
|
||||
source-dirs: src
|
||||
|
||||
flags:
|
||||
corelint:
|
||||
description: Perform the corelint tests
|
||||
default: False
|
||||
manual: True
|
||||
|
||||
tests:
|
||||
polysemy-plugin-test:
|
||||
main: Main.hs
|
||||
@ -43,8 +49,11 @@ tests:
|
||||
- -rtsopts
|
||||
- -with-rtsopts=-N
|
||||
- -fplugin=Polysemy.Plugin
|
||||
- -dcore-lint
|
||||
- -dsuppress-all
|
||||
when:
|
||||
- condition: flag(corelint)
|
||||
ghc-options:
|
||||
- -dcore-lint
|
||||
- -dsuppress-all
|
||||
build-tools:
|
||||
- hspec-discover
|
||||
dependencies:
|
||||
|
@ -4,10 +4,10 @@ cabal-version: 1.24
|
||||
--
|
||||
-- see: https://github.com/sol/hpack
|
||||
--
|
||||
-- hash: 8348af2f14be3efd7dce818f80b5dd436afe615c141b837852c2f1f2536c08b0
|
||||
-- hash: 82e62a325b42351fc99bb87c3d491920a5a047c179e686cd398c82a9870f5e46
|
||||
|
||||
name: polysemy-plugin
|
||||
version: 0.2.3.0
|
||||
version: 0.2.4.0
|
||||
synopsis: Disambiguate obvious uses of effects.
|
||||
description: Please see the README on GitHub at <https://github.com/isovector/polysemy/tree/master/polysemy-plugin#readme>
|
||||
category: Polysemy
|
||||
@ -33,6 +33,11 @@ custom-setup
|
||||
, base >=4.9 && <5
|
||||
, cabal-doctest >=1.0.6 && <1.1
|
||||
|
||||
flag corelint
|
||||
description: Perform the corelint tests
|
||||
manual: True
|
||||
default: False
|
||||
|
||||
library
|
||||
exposed-modules:
|
||||
Polysemy.Plugin
|
||||
@ -72,7 +77,7 @@ test-suite polysemy-plugin-test
|
||||
hs-source-dirs:
|
||||
test
|
||||
default-extensions: DataKinds DeriveFunctor FlexibleContexts GADTs LambdaCase PolyKinds RankNTypes ScopedTypeVariables StandaloneDeriving TypeApplications TypeOperators TypeFamilies UnicodeSyntax
|
||||
ghc-options: -threaded -rtsopts -with-rtsopts=-N -fplugin=Polysemy.Plugin -dcore-lint -dsuppress-all
|
||||
ghc-options: -threaded -rtsopts -with-rtsopts=-N -fplugin=Polysemy.Plugin
|
||||
build-tool-depends:
|
||||
hspec-discover:hspec-discover
|
||||
build-depends:
|
||||
@ -88,4 +93,6 @@ test-suite polysemy-plugin-test
|
||||
, should-not-typecheck >=2.1.0 && <3
|
||||
, syb >=0.7 && <0.8
|
||||
, transformers >=0.5.2.0 && <0.6
|
||||
if flag(corelint)
|
||||
ghc-options: -dcore-lint -dsuppress-all
|
||||
default-language: Haskell2010
|
||||
|
Loading…
Reference in New Issue
Block a user