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

Changed return type of exponentiation operator #197

Closed
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
1 participant
@TheSeamau5
Contributor

TheSeamau5 commented Mar 12, 2015

Changed return type of exponentiation operator ^ to Float to avoid
inconsistencies that type check such as the following:

test : Int
test = 2 ^ -2 -- 0.25

This should solve issue https://github.com/elm-lang/core/issues/194

Changed return type of exponentiation operator
Changed return type of exponentiation operator `^` to Float to avoid
inconsistencies that type check such as the following:

test : Int
test = 2 ^ -2 -- 0.25

@TheSeamau5 TheSeamau5 closed this Apr 22, 2015

@TheSeamau5 TheSeamau5 deleted the TheSeamau5:elm-lang-master branch Apr 22, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment