Parsing: Removed failIfStrict.
This commit is contained in:
parent
33fdea67b5
commit
14c911ba06
1 changed files with 0 additions and 5 deletions
|
@ -48,7 +48,6 @@ module Text.Pandoc.Parsing ( (>>~),
|
|||
withHorizDisplacement,
|
||||
withRaw,
|
||||
nullBlock,
|
||||
failIfStrict,
|
||||
failUnlessLHS,
|
||||
escaped,
|
||||
characterReference,
|
||||
|
@ -392,10 +391,6 @@ withRaw parser = do
|
|||
nullBlock :: Parsec [Char] st Block
|
||||
nullBlock = anyChar >> return Null
|
||||
|
||||
-- | Fail if reader is in strict markdown syntax mode.
|
||||
failIfStrict :: Parsec [a] ParserState ()
|
||||
failIfStrict = getOption readerStrict >>= guard . not
|
||||
|
||||
-- | Fail unless we're in literate haskell mode.
|
||||
failUnlessLHS :: Parsec [tok] ParserState ()
|
||||
failUnlessLHS = getOption readerLiterateHaskell >>= guard
|
||||
|
|
Loading…
Reference in a new issue