Exported runParserT and Stream
This commit is contained in:
parent
e045b1d5f2
commit
83028c5982
2 changed files with 3 additions and 2 deletions
|
@ -107,7 +107,9 @@ module Text.Pandoc.Parsing ( anyLine,
|
|||
askF,
|
||||
asksF,
|
||||
-- * Re-exports from Text.Pandoc.Parsec
|
||||
Stream,
|
||||
runParser,
|
||||
runParserT,
|
||||
parse,
|
||||
anyToken,
|
||||
getInput,
|
||||
|
|
|
@ -41,7 +41,6 @@ import Text.Pandoc.Shared
|
|||
import Text.Pandoc.Options
|
||||
import Text.Pandoc.Parsing hiding ((<|>), many, optional, space,
|
||||
mathDisplay, mathInline)
|
||||
import Text.Parsec.Prim (ParsecT, runParserT)
|
||||
import qualified Text.Pandoc.UTF8 as UTF8
|
||||
import Data.Char ( chr, ord )
|
||||
import Control.Monad.Trans (lift)
|
||||
|
@ -808,7 +807,7 @@ rawEnv name = do
|
|||
|
||||
----
|
||||
|
||||
type IncludeParser = ParsecT [Char] [String] IO String
|
||||
type IncludeParser = ParserT [Char] [String] IO String
|
||||
|
||||
-- | Replace "include" commands with file contents.
|
||||
handleIncludes :: String -> IO String
|
||||
|
|
Loading…
Add table
Reference in a new issue