diff options
author | John MacFarlane <jgm@berkeley.edu> | 2013-08-03 17:02:35 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2013-08-03 17:02:35 -0700 |
commit | 97b2be599e11bbe7aed73a30d8c7900f4276a3df (patch) | |
tree | ecefa62b4a89303c3ca70cbab350ddd2b71770f2 | |
parent | a24409d43efa7727f36b1752d384189661e5149c (diff) | |
download | pandoc-97b2be599e11bbe7aed73a30d8c7900f4276a3df.tar.gz |
Text.Pandoc: Don't reexport ToJSONFilter.
It's better just to import this from Text.Pandoc.JSON.
That way, compiled filters will be smaller in size.
-rw-r--r-- | src/Text/Pandoc.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Text/Pandoc.hs b/src/Text/Pandoc.hs index db0f0e5fe..27aa02a75 100644 --- a/src/Text/Pandoc.hs +++ b/src/Text/Pandoc.hs @@ -107,7 +107,6 @@ module Text.Pandoc , getReader , getWriter , ToJsonFilter(..) - , ToJSONFilter(..) ) where import Text.Pandoc.Definition @@ -303,7 +302,8 @@ getWriter s = \o -> r o{ writerExtensions = setExts $ getDefaultExtensions writerName } -{-# DEPRECATED toJsonFilter "Use toJSONFilter instead" #-} +{-# DEPRECATED toJsonFilter "Use 'toJSONFilter' from 'Text.Pandoc.JSON' instead" #-} +-- | Deprecated. Use @toJSONFilter@ from @Text.Pandoc.JSON@ instead. class ToJSONFilter a => ToJsonFilter a where toJsonFilter :: a -> IO () toJsonFilter = toJSONFilter |