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
To fix this we would need to change the types of TokenParser.float and TokenParser.naturalOrFloat from Double to Rational. This is a breaking change that will also affect other language definitions. Is that an option?
The text was updated successfully, but these errors were encountered:
According to the Haskell 2010 Language Report floating literal should be parsed as
Rational
. HoweverText.Parsec.Language.haskell
parses them asDouble
.To fix this we would need to change the types of
TokenParser.float
andTokenParser.naturalOrFloat
fromDouble
toRational
. This is a breaking change that will also affect other language definitions. Is that an option?The text was updated successfully, but these errors were encountered: