-
-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow starting a number with a decimal point #296
Allow starting a number with a decimal point #296
Conversation
|
||
mFracPart ← optionMaybe (append <$> string "." <*> digits) | ||
let fracPart = fromMaybe "" mFracPart | ||
decimalPart ← fractionalPart <|> do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestions on how to better implement this are welcome.
55bf17e
to
c774ab5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! Thank you very much.
c774ab5
to
f6f7561
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the update!
Deployed on https://insect.sh/ |
Fixes #221.