Making FromDigits more like StringContext; FromDigits literal suffixes #14501
Replies: 2 comments 2 replies
-
suffixes could work, except that identifiers would be limited by how they could be ambiguous when mixed with hexadecimal digits, I considered once using some kind of separator, like |
Beta Was this translation helpful? Give feedback.
-
Since we are dealing with terms, perhaps we can use |
Beta Was this translation helpful? Give feedback.
-
Right now,
FromDigits
doesn't have any way to change the type of a literal without ascribing it. Ideally, one could get custom literals typed correctly via suffixes, such as1_234bi
for a way to acquireBigInt
s using underscores, and so on.Beta Was this translation helpful? Give feedback.
All reactions