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.
This commit is contained in:
John MacFarlane
2013-08-03 17:02:35 -07:00
parent a24409d43e
commit 97b2be599e
+2 -2
View File
@@ -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