From a794e6a57630bcf969109f5660dd97db27cceaa4 Mon Sep 17 00:00:00 2001 From: Daniel Gnoutcheff Date: Tue, 10 Aug 2021 18:23:31 -0400 Subject: Slightly tighter imports --- app/Main.hs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/Main.hs b/app/Main.hs index edb7836..e61fe1d 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -1,16 +1,17 @@ module Main (main) where +import Text.Pandoc hiding (handleError) import Network.XmlRpc.Internals import XMLParse -- Our slightly modified copy of Text.XML.HaXml.Parse -import Data.IORef -import System.IO + +import Data.IORef (IORef (), newIORef, readIORef, writeIORef) +import System.IO (hSetBuffering, stdout, BufferMode (LineBuffering)) import Text.XML.HaXml.XmlContent (fromXml) import Text.XML.HaXml.Lex (Token (), xmlLex) import Text.XML.HaXml.Types (Document (..)) import Text.XML.HaXml.Posn (Posn ()) import Text.ParserCombinators.Poly.State (stGet) import Control.Monad.Except (liftEither) -import Text.Pandoc hiding (handleError) import Control.Monad (void) import qualified Data.ByteString.Lazy.Char8 as BSL8 import qualified Data.Text as T -- cgit v1.2.3