-
Notifications
You must be signed in to change notification settings - Fork 662
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
Decimal values error #23
Comments
The issue is with parsing decimal numbers. They are being treated as function composition. It looks like a couple little bugs are coming out, so I'll fix them up in an incremental release. The best option until then is to use fractions. Sorry about having such a silly problem. |
Thanks for providing Elm. It is alot of fun! |
This is added to the latest version of the compiler. Awaiting release! |
I updated my hsenv from source and the two simple tests above work as expected. Thanks Evan! |
Just released new version, so it's available through Hackage :) |
Thanks again Evan! |
main = asText 10.25
yields this error: Type error: Int is not equal to 111 -> 112
and
main = asText [ 11.5, 20, 21.1 ]
yields this error: Type error: Int is not equal to 125 -> 126
The text was updated successfully, but these errors were encountered: