aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMerijn Verstraaten <merijn@inconsistent.nl>2014-02-06 23:10:59 +0100
committerMerijn Verstraaten <merijn@inconsistent.nl>2014-02-06 23:10:59 +0100
commit286781f8014cd40ad741e52b254904ffa7dc2855 (patch)
treefd360129c90a74bd3c0ec3121ea09e468ad4733e
parent3127ab2b5ede10224f9f86722125573d34d7d3dd (diff)
downloadpandoc-286781f8014cd40ad741e52b254904ffa7dc2855.tar.gz
Removed RenderState datatype context.
Reasoning: - It's not Haskell2010 - It breaks some tools - Doesn't actually do anything - RenderState doesn't even have a Monoid instance
-rw-r--r--src/Text/Pandoc/Pretty.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Pretty.hs b/src/Text/Pandoc/Pretty.hs
index 033511832..5331587ce 100644
--- a/src/Text/Pandoc/Pretty.hs
+++ b/src/Text/Pandoc/Pretty.hs
@@ -81,8 +81,7 @@ import Data.String
import Control.Monad.State
import Data.Char (isSpace)
-data Monoid a =>
- RenderState a = RenderState{
+data RenderState a = RenderState{
output :: [a] -- ^ In reverse order
, prefix :: String
, usePrefix :: Bool