Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upFixed binding issue where was binding to the in the let expression rat... #7
Conversation
jcollard
added some commits
Nov 19, 2014
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Also, fixed a range issue with floats. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
evancz
Nov 19, 2014
Member
Is it also plausible to rename b to base and keep a and b the same? I think that'd be my preferred route.
A lot of the names in this code were really crazy and I did not feel comfortable making them longer, or really touching them at all, because I did not have an intuition of what they meant.
|
Is it also plausible to rename A lot of the names in this code were really crazy and I did not feel comfortable making them longer, or really touching them at all, because I did not have an intuition of what they meant. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
evancz
Nov 19, 2014
Member
Reasoning for a and b is that I want to express going in that these are numbers with no ordering assumed, and I feel like l and h are sort of non-standard number names and suggest an invariant that's not true.
|
Reasoning for |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jcollard
Nov 19, 2014
Contributor
Yeah, changing b to base should work.
I actually didn't realize let was letrec not let* which lead to a lot of confusion debugging this problem. :-P
|
Yeah, changing I actually didn't realize let was letrec not let* which lead to a lot of confusion debugging this problem. :-P |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
fwiw, I agree that |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
evancz
Nov 19, 2014
Member
Awesome, looks great! Thanks for sorting this out, and sorry for introducing these mistakes :/
|
Awesome, looks great! Thanks for sorting this out, and sorry for introducing these mistakes :/ |
pushed a commit
that referenced
this pull request
Nov 19, 2014
evancz
merged commit 9a2c219
into
elm:master
Nov 19, 2014
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
No problem. I am just glad we caught them before 0.14. |
jcollard
deleted the
jcollard:random-lo-hi-bindings
branch
Nov 19, 2014
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
evancz
Nov 19, 2014
Member
One benefit of 0.14 is that we can release core independent of the compiler now. This one could have been 1.0.1 :)
|
One benefit of 0.14 is that we can release |
jcollard commentedNov 19, 2014
...her than the parameter.
bwas being shadowed by another binding and was causing the range to be broken. Renamingaandbtolandhfixes this.