diff --git a/ChangeLog.md b/ChangeLog.md index a3babb1..89b30c2 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,5 +1,13 @@ # Changelog for polysemy +## 0.2.2.0 (2019-05-30) + +- Added `getInspectorT` to the `Tactical` functions, which allows polysemy code + to be run in external callbacks +- A complete rewrite of `Polysemy.Internal.TH.Effect` (thanks to @TheMatten) +- Fixed a bug in the TH generation of effects where the splices could contain + usages of effects that were ambiguous + ## 0.2.1.0 (2019-05-27) - Fixed a bug in the `Alternative` instance for `Sem`, where it would choose the @@ -43,7 +51,3 @@ ## Unreleased changes -- A complete rewrite of `Polysemy.Internal.TH.Effect` (thanks to @TheMatten) -- Fixed a bug in the TH generation of effects where the splices could contain - usages of effects that were ambiguous - diff --git a/package.yaml b/package.yaml index 4af1407..798f5c5 100644 --- a/package.yaml +++ b/package.yaml @@ -1,5 +1,5 @@ name: polysemy -version: 0.2.1.0 +version: 0.2.2.0 github: "isovector/polysemy" license: BSD3 author: "Sandy Maguire" diff --git a/polysemy.cabal b/polysemy.cabal index e676a2c..ac9df5a 100644 --- a/polysemy.cabal +++ b/polysemy.cabal @@ -4,10 +4,10 @@ cabal-version: 1.12 -- -- see: https://github.com/sol/hpack -- --- hash: b20555250cc9624a2c4d56da690b1e2a110f7a0b6e8411f31fc8dbc544e10856 +-- hash: c0c48158ef37719851ad6b2bef99ba3236628e92c385792bac924109605febe9 name: polysemy -version: 0.2.1.0 +version: 0.2.2.0 synopsis: Higher-order, low-boilerplate, zero-cost free monads. description: Please see the README on GitHub at category: Language @@ -71,10 +71,12 @@ library ghc-options: -Wall build-depends: base >=4.7 && <5 + , containers >=0.6 && <=0.7 , mtl >=2.2.2 && <3 , random >=1.1 && <1.2 - , syb >=0.7 && <0.8 + , syb >=0.7 && <=0.8 , template-haskell >=2.14.0.0 && <2.15 + , th-abstraction >=0.3 && <=0.4 , transformers >=0.5.5.0 && <0.6 if flag(dump-core) ghc-options: -fplugin=DumpCore -fplugin-opt DumpCore:core-html @@ -100,13 +102,15 @@ test-suite polysemy-test ghc-options: -threaded -rtsopts -with-rtsopts=-N build-depends: base >=4.7 && <5 + , containers >=0.6 && <=0.7 , hspec >=2.6.0 && <3 , inspection-testing >=0.4.1.1 && <0.5 , mtl >=2.2.2 && <3 , polysemy , random >=1.1 && <1.2 - , syb >=0.7 && <0.8 + , syb >=0.7 && <=0.8 , template-haskell >=2.14.0.0 && <2.15 + , th-abstraction >=0.3 && <=0.4 , transformers >=0.5.5.0 && <0.6 default-language: Haskell2010 @@ -121,13 +125,15 @@ benchmark polysemy-bench default-extensions: DataKinds DeriveFunctor FlexibleContexts GADTs LambdaCase PolyKinds RankNTypes ScopedTypeVariables StandaloneDeriving TypeApplications TypeOperators TypeFamilies UnicodeSyntax build-depends: base >=4.7 && <5 + , containers >=0.6 && <=0.7 , criterion , free , freer-simple , mtl , polysemy , random >=1.1 && <1.2 - , syb >=0.7 && <0.8 + , syb >=0.7 && <=0.8 , template-haskell >=2.14.0.0 && <2.15 + , th-abstraction >=0.3 && <=0.4 , transformers >=0.5.5.0 && <0.6 default-language: Haskell2010