diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-06-16 23:29:37 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-06-17 07:45:28 +0200 |
commit | 9849ba7fd744f529f063e0802a18fa18c8433eeb (patch) | |
tree | 129de8b4a195535cd3868f43ba335c03c5d0b877 /src/Text/Pandoc/Pretty.hs | |
parent | 23f3c2d7b4796d1af742a74999ce67924bf2abb3 (diff) | |
download | pandoc-9849ba7fd744f529f063e0802a18fa18c8433eeb.tar.gz |
Use Control.Monad.State.Strict throughout.
This gives 20-30% speedup and reduction of memory
usage in most of the writers.
Diffstat (limited to 'src/Text/Pandoc/Pretty.hs')
-rw-r--r-- | src/Text/Pandoc/Pretty.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Pretty.hs b/src/Text/Pandoc/Pretty.hs index d78a2f1d9..1b3c647a1 100644 --- a/src/Text/Pandoc/Pretty.hs +++ b/src/Text/Pandoc/Pretty.hs @@ -77,7 +77,7 @@ module Text.Pandoc.Pretty ( ) where -import Control.Monad.State +import Control.Monad.State.Strict import Data.Char (isSpace) import Data.Foldable (toList) import Data.List (intersperse) |