Module

Text.Parsing.Parser.Pos

Package
parsing
Repository
id3as/purescript-parsing

#Position Source

newtype Position

Position represents the position of the parser in the input.

  • line is the current line in the input
  • column is the column of the next character in the current line that will be parsed

Constructors

Instances

#initialPos Source

initialPos :: Position

The Position before any input has been parsed.

#updatePosString Source

updatePosString :: Position -> String -> Position

Updates a Position by adding the columns and lines in String.