Fix Haddock link to Text.Megaparsec.Char.space1

This commit is contained in:
Dennis Gosnell 2021-01-08 19:21:08 +09:00 committed by Mark Karpov
parent 3720d0b38e
commit 7dda58a2f7
No known key found for this signature in database
GPG Key ID: 8564658B2889FF7C

View File

@ -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 () ->