mirror of
https://github.com/mrkkrp/megaparsec.git
synced 2024-11-29 23:52:51 +03:00
Fix Haddock link to Text.Megaparsec.Char.space1
This commit is contained in:
parent
3720d0b38e
commit
7dda58a2f7
@ -36,11 +36,11 @@ import Text.Megaparsec.Common
|
||||
-- @spaceConsumer@ in documentation, usually it means that something like
|
||||
-- 'space' is expected there).
|
||||
--
|
||||
-- @sc@ is used to parse blocks of space characters. You can use 'C.space1'
|
||||
-- @sc@ is used to parse blocks of space characters. You can use 'Text.Megaparsec.Char.space1'
|
||||
-- from "Text.Megaparsec.Char" for this purpose as well as your own parser
|
||||
-- (if you don't want to automatically consume newlines, for example). Make
|
||||
-- sure the parser does not succeed on empty input though. In earlier
|
||||
-- version 'C.spaceChar' was recommended, but now parsers based on
|
||||
-- version 'Text.Megaparsec.Char.spaceChar' was recommended, but now parsers based on
|
||||
-- 'takeWhile1P' are preferred because of their speed.
|
||||
--
|
||||
-- @lineComment@ is used to parse line comments. You can use
|
||||
@ -57,7 +57,7 @@ import Text.Megaparsec.Common
|
||||
space ::
|
||||
MonadParsec e s m =>
|
||||
-- | A parser for space characters which does not accept empty
|
||||
-- input (e.g. 'C.space1')
|
||||
-- input (e.g. 'Text.Megaparsec.Char.space1')
|
||||
m () ->
|
||||
-- | A parser for a line comment (e.g. 'skipLineComment')
|
||||
m () ->
|
||||
|
Loading…
Reference in New Issue
Block a user