git.iko.soy/typeable/pandoc
on master help sign in
Removed unneeded import.
4cdb4c0fiddlosopher
src/Text/Pandoc/Templates.hs−5
@@ -79,11 +79,6 @@ import Data.ByteString.Lazy.UTF8 (ByteString, fromString)
79import Text.Pandoc.Shared (readDataFile)
79import Text.Pandoc.Shared (readDataFile)
80-- Note: ghc >= 6.12 (base >=4.2) supports unicode through iconv
80-- Note: ghc >= 6.12 (base >=4.2) supports unicode through iconv
81-- So we use System.IO.UTF8 only if we have an earlier version
81-- So we use System.IO.UTF8 only if we have an earlier version
82−#if MIN_VERSION_base(4,2,0)
83−#else
84−import Prelude hiding ( readFile )
85−import System.IO.UTF8 ( readFile )
86−#endif
87
82
88-- | Get default template for the specified writer.
83-- | Get default template for the specified writer.
89getDefaultTemplate :: (Maybe FilePath) -- ^ User data directory to search first
84getDefaultTemplate :: (Maybe FilePath) -- ^ User data directory to search first