writer-cps-mtl 0.1.0.1 → 0.1.0.2
raw patch · 3 files changed
+46/−4 lines, 3 filesdep ~writer-cps-transformersPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: writer-cps-transformers
API changes (from Hackage documentation)
Files
- Control/Monad/RWS/CPS.hs +21/−0
- Control/Monad/Writer/CPS.hs +21/−0
- writer-cps-mtl.cabal +4/−4
Control/Monad/RWS/CPS.hs view
@@ -1,4 +1,25 @@ {-# OPTIONS_GHC -fno-warn-orphans #-}+-----------------------------------------------------------------------------+-- |+-- Module : Control.Monad.RWS.CPS+-- Copyright : (c) Daniel Mendler 2016,+-- (c) Andy Gill 2001,+-- (c) Oregon Graduate Institute of Science and Technology, 2001+-- License : BSD-style (see the file LICENSE)+--+-- Maintainer : mail@daniel-mendler.de+-- Stability : experimental+-- Portability : non-portable (multi-param classes, functional dependencies)+--+-- Stricter RWS monad using continuation-passing-style for the+-- writer output.+--+-- Inspired by the paper+-- /Functional Programming with Overloading and Higher-Order Polymorphism/,+-- Mark P Jones (<http://web.cecs.pdx.edu/~mpj/>)+-- Advanced School of Functional Programming, 1995.+-----------------------------------------------------------------------------+ module Control.Monad.RWS.CPS ( -- * The RWS monad RWS,
Control/Monad/Writer/CPS.hs view
@@ -1,4 +1,25 @@ {-# OPTIONS_GHC -fno-warn-orphans #-}+-----------------------------------------------------------------------------+-- |+-- Module : Control.Monad.Writer.CPS+-- Copyright : (c) Daniel Mendler 2016,+-- (c) Andy Gill 2001,+-- (c) Oregon Graduate Institute of Science and Technology, 2001+-- License : BSD-style (see the file LICENSE)+--+-- Maintainer : mail@daniel-mendler.de+-- Stability : experimental+-- Portability : non-portable (multi-param classes, functional dependencies)+--+-- Stricter writer monad using continuation-passing-style for the+-- writer output.+--+-- Inspired by the paper+-- /Functional Programming with Overloading and Higher-Order Polymorphism/,+-- Mark P Jones (<http://web.cecs.pdx.edu/~mpj/pubs/springschool.html>)+-- Advanced School of Functional Programming, 1995.+-----------------------------------------------------------------------------+ module Control.Monad.Writer.CPS ( -- * The Writer monad Writer,
writer-cps-mtl.cabal view
@@ -3,9 +3,9 @@ -- see: https://github.com/sol/hpack name: writer-cps-mtl-version: 0.1.0.1+version: 0.1.0.2 cabal-version: >= 1.10-license: MIT+license: BSD3 license-file: LICENSE tested-with: GHC == 7.0.4, GHC == 7.2.2, GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1 author: Andy Gill, Edward Kmett, Daniel Mendler@@ -15,7 +15,7 @@ synopsis: MonadWriter orphan instances for writer-cps-transformers homepage: https://github.com/minad/writer-cps-mtl#readme bug-reports: https://github.com/minad/writer-cps-mtl/issues-description: The WriterT and RWST monad transformers provided by writer-cps-transformers are written in continuation passing style and avoid the space-leak problem of the traditional Control.Monad.Trans.Writer.Strict/Lazy.+description: The WriterT and RWST monad transformers provided by writer-cps-transformers are written in continuation passing style and avoid the space-leak problem of the traditional Control.Monad.Trans.Writer.Strict/Lazy. See also (<https://hackage.haskell.org/package/writer-cps-transformers>). build-type: Simple source-repository head@@ -31,7 +31,7 @@ base < 6 , transformers >= 0.4 && < 0.6 , mtl >= 2.2 && < 2.4- , writer-cps-transformers == 0.1.0.1+ , writer-cps-transformers >= 0.1 && < 0.3 exposed-modules: Control.Monad.RWS.CPS Control.Monad.Writer.CPS