git.iko.soy/typeable/writer-cps-mtl
on master help sign in
update documentation
commitb6f41a489cef0799a0387e1f8e6db800f4373035 authorDaniel Mendler <mail@daniel-mendler.de> dateFri 2 Sep 2016, 08:17 (10 years ago) parent9cbb75a
3 files changed+43
.gitignore+1 Control/Monad/RWS/CPS.hs+21 Control/Monad/Writer/CPS.hs+21
.gitignore+1
@@ -2,3 +2,4 @@ dist
22attic
33.hpc
44.stack*
5+stack.yaml
Control/Monad/RWS/CPS.hs+21
@@ -1,4 +1,25 @@
11{-# OPTIONS_GHC -fno-warn-orphans #-}
2+-----------------------------------------------------------------------------
3+-- |
4+-- Module : Control.Monad.RWS.CPS
5+-- Copyright : (c) Daniel Mendler 2016,
6+-- (c) Andy Gill 2001,
7+-- (c) Oregon Graduate Institute of Science and Technology, 2001
8+-- License : BSD-style (see the file LICENSE)
9+--
10+-- Maintainer : mail@daniel-mendler.de
11+-- Stability : experimental
12+-- Portability : non-portable (multi-param classes, functional dependencies)
13+--
14+-- Stricter RWS monad using continuation-passing-style for the
15+-- writer output.
16+--
17+-- Inspired by the paper
18+-- /Functional Programming with Overloading and Higher-Order Polymorphism/,
19+-- Mark P Jones (<http://web.cecs.pdx.edu/~mpj/>)
20+-- Advanced School of Functional Programming, 1995.
21+-----------------------------------------------------------------------------
22+
223module Control.Monad.RWS.CPS (
324 -- * The RWS monad
425 RWS,
Control/Monad/Writer/CPS.hs+21
@@ -1,4 +1,25 @@
11{-# OPTIONS_GHC -fno-warn-orphans #-}
2+-----------------------------------------------------------------------------
3+-- |
4+-- Module : Control.Monad.Writer.CPS
5+-- Copyright : (c) Daniel Mendler 2016,
6+-- (c) Andy Gill 2001,
7+-- (c) Oregon Graduate Institute of Science and Technology, 2001
8+-- License : BSD-style (see the file LICENSE)
9+--
10+-- Maintainer : mail@daniel-mendler.de
11+-- Stability : experimental
12+-- Portability : non-portable (multi-param classes, functional dependencies)
13+--
14+-- Stricter writer monad using continuation-passing-style for the
15+-- writer output.
16+--
17+-- Inspired by the paper
18+-- /Functional Programming with Overloading and Higher-Order Polymorphism/,
19+-- Mark P Jones (<http://web.cecs.pdx.edu/~mpj/pubs/springschool.html>)
20+-- Advanced School of Functional Programming, 1995.
21+-----------------------------------------------------------------------------
22+
223module Control.Monad.Writer.CPS (
324 -- * The Writer monad
425 Writer,