@@ -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,