diff options
author | Daniel Gnoutcheff <gnoutchd@softwarefreedom.org> | 2021-08-10 18:23:31 -0400 |
---|---|---|
committer | Daniel Gnoutcheff <gnoutchd@softwarefreedom.org> | 2021-08-10 18:23:31 -0400 |
commit | a794e6a57630bcf969109f5660dd97db27cceaa4 (patch) | |
tree | 0a6321d71a6df6e5b1442b366b7328bcaf3faf40 /app | |
parent | e7e8e7f63caae067780bfe0074805d0a54aff951 (diff) |
Slightly tighter imports
Diffstat (limited to 'app')
-rw-r--r-- | app/Main.hs | 7 |
1 files 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 |