-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Raphael Jolly
committed
May 16, 2024
1 parent
750f752
commit b5ca8bd
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
layout: sip | ||
title: SIP-65 - Generic Number Literals | ||
stage: implementation | ||
status: waiting-for-implementation | ||
permalink: /sips/:title.html | ||
--- | ||
|
||
**By: rjolly** | ||
|
||
## History | ||
|
||
| Date | Version | | ||
|---------------|--------------------------| | ||
| Jul 23rd 2019 | Initial Draft | | ||
|
||
Your feedback is welcome! If you're interested in discussing this proposal, head over to [this](https://contributors.scala-lang.org/t/status-of-experimental-numeric-literals/6658) Scala Contributors thread and let me know what you think. | ||
|
||
## Proposal | ||
|
||
Support generic number literals, as in `val x: BigInt = 111111100000022222222222`. | ||
|
||
## Motivation | ||
|
||
See <https://github.com/scala/scala3/pull/6919>. | ||
|
||
### Specification | ||
|
||
See <https://dotty.epfl.ch/docs/reference/experimental/numeric-literals.html>. | ||
|
||
## Alternatives | ||
|
||
See <https://contributors.scala-lang.org/t/pre-sip-sharp-string-interpolation/5836>. | ||
|
||
## Implementation | ||
|
||
The implementation of generic number literals can be found at <https://github.com/scala/scala3/pull/6919>. |