aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-10-27 21:44:22 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2017-10-27 21:44:22 -0700
commit84812983573232a1dc25f68268acfa9b28ac5a22 (patch)
treeb8a426c4620646a3f31dc640d5c8310f7a2ad261 /src/Text
parentdd1785342a7d7edf58c37fe5a03ec69f2230d041 (diff)
downloadpandoc-84812983573232a1dc25f68268acfa9b28ac5a22.tar.gz
Don't rely on syb when we don't need to.
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Error.hs2
-rw-r--r--src/Text/Pandoc/Logging.hs2
-rw-r--r--src/Text/Pandoc/Shared.hs2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/Text/Pandoc/Error.hs b/src/Text/Pandoc/Error.hs
index ade33e26d..0c97ecbad 100644
--- a/src/Text/Pandoc/Error.hs
+++ b/src/Text/Pandoc/Error.hs
@@ -35,7 +35,7 @@ module Text.Pandoc.Error (
handleError) where
import Control.Exception (Exception)
-import Data.Generics (Typeable)
+import Data.Typeable (Typeable)
import GHC.Generics (Generic)
import Network.HTTP.Client (HttpException)
import System.Exit (ExitCode (..), exitWith)
diff --git a/src/Text/Pandoc/Logging.hs b/src/Text/Pandoc/Logging.hs
index f7fd503d3..a156f017c 100644
--- a/src/Text/Pandoc/Logging.hs
+++ b/src/Text/Pandoc/Logging.hs
@@ -45,7 +45,7 @@ import Data.Aeson.Encode.Pretty (Config (..), defConfig, encodePretty',
keyOrder)
import qualified Data.ByteString.Lazy as BL
import Data.Data (Data, toConstr)
-import Data.Generics (Typeable)
+import Data.Typeable (Typeable)
import qualified Data.Text as Text
import GHC.Generics (Generic)
import Text.Pandoc.Definition
diff --git a/src/Text/Pandoc/Shared.hs b/src/Text/Pandoc/Shared.hs
index 49b41b534..85f13c865 100644
--- a/src/Text/Pandoc/Shared.hs
+++ b/src/Text/Pandoc/Shared.hs
@@ -105,7 +105,7 @@ import qualified Control.Monad.State.Strict as S
import qualified Data.ByteString.Lazy as BL
import Data.Char (isAlpha, isDigit, isLetter, isLower, isSpace, isUpper,
toLower)
-import Data.Generics (Data, Typeable)
+import Data.Data (Data, Typeable)
import Data.List (find, intercalate, stripPrefix)
import qualified Data.Map as M
import Data.Maybe (mapMaybe)