Release polysemy-0.7.0.0

This commit is contained in:
Sandy Maguire 2019-07-08 10:19:25 -04:00
parent fff2c96ce3
commit f93e6d9111
5 changed files with 20 additions and 4 deletions

View File

@ -1,5 +1,19 @@
# Changelog for polysemy
## 0.7.0.0 (2019-07-08)
### Breaking Changes
- Added a `Pass` constructor to `Writer`
- Fixed a bug in `runWriter` where the MTL semantics wouldn't be respected
- Removed the `Censor` constructor of `Writer`
- Renamed `Yo` to `Weaving`
- Changed the visible type applications for `asks`, `gets`, and `runErrorAsAnother`
### Other Changes
- Fixed haddock generation
## 0.6.0.0 (2019-07-04)
### Breaking Changes

View File

@ -1,5 +1,5 @@
name: polysemy
version: 0.6.0.0
version: 0.7.0.0
github: "isovector/polysemy"
license: BSD3
author: "Sandy Maguire"

View File

@ -4,10 +4,10 @@ cabal-version: 1.12
--
-- see: https://github.com/sol/hpack
--
-- hash: 97a22d464c318fcae18ff92ed18f1367580a311610f0d5ea54de4e29a97b04de
-- hash: e22afd49cd8b82cdc69be962d872539c65eedc43a2978aa7a0652b40dd7db105
name: polysemy
version: 0.6.0.0
version: 0.7.0.0
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

View File

@ -52,7 +52,7 @@ runIO = interpret $ sendM . liftIO @m . unLift
--
-- This function creates a thread, and so should be compiled with @-threaded@.
--
-- TODO(sandy): @since
-- @since 0.6.0.0
runEmbedded
:: ( MonadIO m
, LastMember (Lift IO) r

View File

@ -32,6 +32,8 @@ data Writer o m a where
makeSem ''Writer
------------------------------------------------------------------------------
-- | @since 0.7.0.0
censor :: Member (Writer o) r
=> (o -> o)
-> Sem r a