Skip to content

Commit 3f1bbbb

Browse files
committed
Docs
1 parent e5cdcd3 commit 3f1bbbb

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Parsing.purs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -404,10 +404,11 @@ region context p = catchError p $ \err -> throwError $ context err
404404

405405
-- | `Position` represents the position of the parser in the input stream.
406406
-- |
407-
-- | - `index` is the position since the start of the input. Starts at 0.
408-
-- | - `line` is the current line in the input. Starts at 1.
407+
-- | - `index` is the position offset since the start of the input. Starts
408+
-- | at *0*.
409+
-- | - `line` is the current line in the input. Starts at *1*.
409410
-- | - `column` is the column of the next character in the current line that
410-
-- | will be parsed. Starts at 1.
411+
-- | will be parsed. Starts at *1*.
411412
newtype Position = Position
412413
{ index :: Int
413414
, line :: Int

0 commit comments

Comments
 (0)