Math module
dullbananas opened this issue · 4 comments
Basics module contains many functions and constants such as pi snd cos which should go in a separate Math module
Thanks for reporting this! To set expectations:
- Issues are reviewed in batches, so it can take some time to get a response.
- Ask questions a community forum. You will get an answer quicker that way!
- If you experience something similar, open a new issue. We like duplicates.
Finally, please be patient with the core team. They are trying their best with limited resources.
Hi.
You don't actually present any argument in favor of such a change.
"should" is not an argument.
-
A lot of the math stuff in
Basicsaren't common enough to need to automatically get imported with(..)compared to stuff likeidentityand I think it is very bad that the core module that has the most stuff is also the one that always gets automatically imported with(..). -
Seeing
Math.toPolarwhen reading code is way less confusing thantoPolarsince that function is not common or well known compared to other things in the core library.
This can also help make Elm more familiar to users of JavaScript, where many math functions are static methods of the Math object