Skip to content

Commit b5ca8bd

Browse files
author
Raphael Jolly
committed
SIP-65: Generic Number Literals
1 parent 750f752 commit b5ca8bd

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

content/generic-number-literals.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
layout: sip
3+
title: SIP-65 - Generic Number Literals
4+
stage: implementation
5+
status: waiting-for-implementation
6+
permalink: /sips/:title.html
7+
---
8+
9+
**By: rjolly**
10+
11+
## History
12+
13+
| Date | Version |
14+
|---------------|--------------------------|
15+
| Jul 23rd 2019 | Initial Draft |
16+
17+
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.
18+
19+
## Proposal
20+
21+
Support generic number literals, as in `val x: BigInt = 111111100000022222222222`.
22+
23+
## Motivation
24+
25+
See <https://github.com/scala/scala3/pull/6919>.
26+
27+
### Specification
28+
29+
See <https://dotty.epfl.ch/docs/reference/experimental/numeric-literals.html>.
30+
31+
## Alternatives
32+
33+
See <https://contributors.scala-lang.org/t/pre-sip-sharp-string-interpolation/5836>.
34+
35+
## Implementation
36+
37+
The implementation of generic number literals can be found at <https://github.com/scala/scala3/pull/6919>.

0 commit comments

Comments
 (0)