git.iko.soy/typeable/pandoc
on master help sign in
Org reader: Removed ANN pragma.

This relies on Template Haskell, which causes problems in Windows due to libraries with C dependencies. We need to avoid using TH in pandoc code.

commitd4c1cd456c16298069b05e1da328e70dc87ea547 authorJohn MacFarlane <fiddlosopher@gmail.com> dateSat 12 Apr 2014, 21:44 (13 years ago) parent8bc09ce
1 file changed−3
src/Text/Pandoc/Readers/Org.hs−3
src/Text/Pandoc/Readers/Org.hs−3
@@ -44,9 +44,6 @@ import Data.List (foldl', isPrefixOf, isSuffixOf)
4444import Data.Maybe (listToMaybe, fromMaybe)
4545import Data.Monoid (mconcat, mempty, mappend)
4646
47−-- Ignore HLint warnings to use String instead of [Char]
48−{-# ANN module ("HLint: ignore Use String" :: String) #-}
49−
5047-- | Parse org-mode string and return a Pandoc document.
5148readOrg :: ReaderOptions -- ^ Reader options
5249 -> String -- ^ String to parse (assuming @'\n'@ line endings)