Closed ideasman42 closed 3 years ago
Some languages support using underscores as separators, so 16_777_216 is evaluated as 16777216.
16_777_216
16777216
This task proposes to optionally support these characters;
This would add a custom variable: evil-numbers-separator, values would include:
evil-numbers-separator
nil
t
'(3)
'(3 2)
Notes:
This is implemented in master.
Some languages support using underscores as separators, so
16_777_216
is evaluated as16777216
.This task proposes to optionally support these characters;
This would add a custom variable:
evil-numbers-separator
, values would include:nil
no support, numbers would be treated as separate values (current behavior).t
support evaluating numbers using these separators, keeping the separators in the incremented number.'(3)
would add a separator every 3 characters.'(3 2)
would add every 3rd then 2nd... and so on.Notes: