Skip to content

Commit 6023657

Browse files
committed
docs: better doc for dateParser
1 parent 9f22e4a commit 6023657

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Text/Megaparsec/Time.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ _posNumParser = read <$> some digitChar
6262
-- the current day, or a 'DayOfWeek'.
6363
type DayResult = Either Int DayOfWeek
6464

65-
-- | Parse a tuple containing a day or not, and a 'TimeOfDay'.
65+
-- | Parse a tuple containing a day or not, and a 'TimeOfDay', separated with a
66+
-- space.
6667
dateParser
6768
:: Ord e
6869
=> Parsec e String (Maybe DayResult, TimeOfDay)

0 commit comments

Comments
 (0)