Repository navigation
Number vs Float/Int #175
Replies: 6 comments 1 reply
|
The reason it only supports I think |
|
Initially I thought about splitting between I propose:
|
|
I think what you suggest can be done relatively easily, what we have to think about what operations would return in each case, this is what I got so far:
In addition it would be nice to have an operator for https://en.wikipedia.org/wiki/Modular_arithmetic
Under the hood it would all use the JavaScript |
|
If we're to introduce Distinction |
@Sija Can you explain why would that be counter-intuitive? |
Because they mix the entities from two different levels - |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
AFAIK the language supports only the Number type for numbers. However, quite often I define indices in my code. I want to make sure that index is an integer. Another case is having an amount of items.
Are you against having this distinction and if yes then why?
All reactions