Skip to content

Commit 1d1d152

Browse files
authored
Revert "Update docs to refer to CodeUnit-based inxed (#66)"
This reverts commit eb3ac59.
1 parent f1675fb commit 1d1d152

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Text/Parsing/StringParser.purs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ import Control.Lazy (class Lazy)
1212
import Data.Bifunctor (lmap)
1313
import Data.Either (Either(..))
1414

15-
-- | A CodeUnit-based index into an input string.
15+
-- | A position in an input string.
1616
type Pos = Int
1717

18-
-- | Strings are represented as a string with a CodeUnit-based index from the
18+
-- | Strings are represented as a string with an index from the
1919
-- | start of the string.
2020
-- |
2121
-- | `{ str: s, pos: n }` is interpreted as the substring of `s`

0 commit comments

Comments
 (0)