mirror of
https://github.com/polysemy-research/polysemy.git
synced 2024-09-11 02:25:43 +03:00
Release polysemy 0.3.0.0
This commit is contained in:
parent
cd074a4bd4
commit
c937132caa
12
ChangeLog.md
12
ChangeLog.md
@ -1,5 +1,12 @@
|
||||
# Changelog for polysemy
|
||||
|
||||
## 0.3.0.0 (2019-06-01)
|
||||
|
||||
- Removed all deprecated names
|
||||
- Moved `Random` effect to `polysemy-zoo`
|
||||
- `makeSem` can now be used to create term-level operators (thanks to
|
||||
@TheMatten)
|
||||
|
||||
## 0.2.2.0 (2019-05-30)
|
||||
|
||||
- Added `getInspectorT` to the `Tactical` functions, which allows polysemy code
|
||||
@ -51,8 +58,3 @@
|
||||
|
||||
## Unreleased changes
|
||||
|
||||
- TODO: Remove deprecated names
|
||||
- NEEDS NEW MAJOR RELEASE: Moved `Random` effect to `polysemy-zoo`
|
||||
- `makeSem` can now be used to create term-level operators (thanks to
|
||||
@TheMatten)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
name: polysemy
|
||||
version: 0.2.2.0
|
||||
version: 0.3.0.0
|
||||
github: "isovector/polysemy"
|
||||
license: BSD3
|
||||
author: "Sandy Maguire"
|
||||
|
@ -4,10 +4,10 @@ cabal-version: 1.12
|
||||
--
|
||||
-- see: https://github.com/sol/hpack
|
||||
--
|
||||
-- hash: e0bd1c00115dcbb08343754f06369914411b0aa48c9838c3fa4cd59cf861607b
|
||||
-- hash: 9ee186fecebe41f0688aa073f56c51a08f7f3881a86af44a4d91a6cb8b4d6005
|
||||
|
||||
name: polysemy
|
||||
version: 0.2.2.0
|
||||
version: 0.3.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
|
||||
@ -52,7 +52,6 @@ library
|
||||
Polysemy.Internal.NonDet
|
||||
Polysemy.Internal.Tactics
|
||||
Polysemy.Internal.TH.Effect
|
||||
Polysemy.Internal.TH.Performance
|
||||
Polysemy.Internal.Union
|
||||
Polysemy.IO
|
||||
Polysemy.NonDet
|
||||
|
@ -109,47 +109,10 @@ module Polysemy
|
||||
, bindT
|
||||
, getInspectorT
|
||||
, Inspector (..)
|
||||
|
||||
-- * Deprecated Names
|
||||
-- | The following exports are deprecated, and are exposed only for
|
||||
-- backwards compatability reasons. They will be removed in the next major
|
||||
-- release.
|
||||
, Semantic
|
||||
, runSemantic
|
||||
, makeSemantic
|
||||
, makeSemantic_
|
||||
, inlineRecursiveCalls
|
||||
) where
|
||||
|
||||
import Polysemy.Internal
|
||||
import Polysemy.Internal.Combinators
|
||||
import Polysemy.Internal.TH.Effect
|
||||
import Polysemy.Internal.TH.Performance
|
||||
import Polysemy.Internal.Tactics
|
||||
|
||||
-- Imported just for the deprecated names.
|
||||
import Polysemy.Internal.Union
|
||||
import Language.Haskell.TH
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
-- Deprecated names
|
||||
type Semantic = Sem
|
||||
{-# DEPRECATED Semantic "Use 'Sem' instead" #-}
|
||||
|
||||
runSemantic :: ∀ m r a
|
||||
. Monad m
|
||||
=> Semantic r a -> (∀ x. Union r (Sem r) x -> m x)
|
||||
-> m a
|
||||
runSemantic = runSem
|
||||
{-# DEPRECATED runSemantic "Use 'runSem' instead" #-}
|
||||
|
||||
|
||||
makeSemantic :: Name -> Q [Dec]
|
||||
makeSemantic = makeSem
|
||||
{-# DEPRECATED makeSemantic "Use 'makeSem' instead" #-}
|
||||
|
||||
makeSemantic_ :: Name -> Q [Dec]
|
||||
makeSemantic_ = makeSem_
|
||||
{-# DEPRECATED makeSemantic_ "Use 'makeSem_' instead" #-}
|
||||
|
||||
|
||||
|
@ -1,15 +0,0 @@
|
||||
{-# OPTIONS_HADDOCK not-home #-}
|
||||
|
||||
module Polysemy.Internal.TH.Performance
|
||||
( inlineRecursiveCalls
|
||||
) where
|
||||
|
||||
import Language.Haskell.TH
|
||||
|
||||
{-# DEPRECATED inlineRecursiveCalls
|
||||
"Enabling polysemy-plugin now automatically inlines recursive calls"
|
||||
#-}
|
||||
|
||||
inlineRecursiveCalls :: Q [Dec] -> Q [Dec]
|
||||
inlineRecursiveCalls = id
|
||||
|
Loading…
Reference in New Issue
Block a user