You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EDIT: Duplicate of #129. Should have looked through the issues properly before opening this one, sorry..
The documentation for Text.Parsec.Pos.updatePosChar states that If the character is a newline ('\n') or carriage return ('\r') the line number is incremented by 1. From looking at the implementation it is clear that only newlines increments line number, whereas carriage return is treated as a normal character
I do not know what the correct behavior would be, but this seams to me like a documentation-implementation missmatch.
Thank you for you time, have a lovely day 🌤️
The text was updated successfully, but these errors were encountered:
EDIT: Duplicate of #129. Should have looked through the issues properly before opening this one, sorry..
The documentation for
Text.Parsec.Pos.updatePosChar
states that . From looking at the implementation it is clear that only newlines increments line number, whereas carriage return is treated as a normal characterI do not know what the correct behavior would be, but this seams to me like a documentation-implementation missmatch.
Thank you for you time, have a lovely day 🌤️
The text was updated successfully, but these errors were encountered: