Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Stands for location. Consists of a Line
and a Column
. You can think of a
Loc
like a caret position in a text editor. Following the normal convention
for text editors and such, line and column numbers start with 1.
Constructing
Querying
Show and Read
locReadPrec :: ReadPrec Loc Source #
>>>
readPrec_to_S locReadPrec minPrec "3:14"
[(3:14,"")]