File tree 6 files changed +0
-25
lines changed
library/src/scala/compiletime/ops
6 files changed +0
-25
lines changed Original file line number Diff line number Diff line change 1
1
package scala .compiletime
2
2
package ops
3
3
4
- import annotation .experimental
5
-
6
4
object any :
7
5
/** Equality comparison of two singleton types.
8
6
* ```scala
@@ -41,7 +39,6 @@ object any:
41
39
* ```
42
40
* @syntax markdown
43
41
*/
44
- @ experimental
45
42
type IsConst [X ] <: Boolean
46
43
47
44
/** String conversion of a constant singleton type.
@@ -51,5 +48,4 @@ object any:
51
48
* ```
52
49
* @syntax markdown
53
50
*/
54
- @ experimental
55
51
type ToString [+ X ] <: String
Original file line number Diff line number Diff line change 1
1
package scala .compiletime
2
2
package ops
3
3
4
- import scala .annotation .experimental
5
-
6
- @ experimental
7
4
object double :
8
5
/** Addition of two `Double` singleton types.
9
6
* ```scala
Original file line number Diff line number Diff line change 1
1
package scala .compiletime
2
2
package ops
3
3
4
- import scala .annotation .experimental
5
-
6
- @ experimental
7
4
object float :
8
5
/** Addition of two `Float` singleton types.
9
6
* ```scala
Original file line number Diff line number Diff line change 1
1
package scala .compiletime
2
2
package ops
3
3
4
- import annotation .experimental
5
-
6
4
object int :
7
5
/** Successor of a natural number where zero is the type 0 and successors are reduced as if the definition was:
8
6
*
@@ -192,7 +190,6 @@ object int:
192
190
* ```
193
191
* @syntax markdown
194
192
*/
195
- @ experimental
196
193
type ToLong [+ X <: Int ] <: Long
197
194
198
195
/** Float conversion of an `Int` singleton type.
@@ -201,7 +198,6 @@ object int:
201
198
* ```
202
199
* @syntax markdown
203
200
*/
204
- @ experimental
205
201
type ToFloat [+ X <: Int ] <: Float
206
202
207
203
/** Double conversion of an `Int` singleton type.
@@ -210,7 +206,6 @@ object int:
210
206
* ```
211
207
* @syntax markdown
212
208
*/
213
- @ experimental
214
209
type ToDouble [+ X <: Int ] <: Double
215
210
216
211
/** Number of zero bits preceding the highest-order ("leftmost")
@@ -225,5 +220,4 @@ object int:
225
220
* ```
226
221
* @syntax markdown
227
222
*/
228
- @ experimental
229
223
type NumberOfLeadingZeros [+ X <: Int ] <: Int
Original file line number Diff line number Diff line change 1
1
package scala .compiletime
2
2
package ops
3
3
4
- import scala .annotation .experimental
5
-
6
- @ experimental
7
4
object long :
8
5
/** Successor of a natural number where zero is the type 0 and successors are reduced as if the definition was:
9
6
*
Original file line number Diff line number Diff line change 1
1
package scala .compiletime
2
2
package ops
3
3
4
- import scala .annotation .experimental
5
-
6
4
object string :
7
5
/** Concatenation of two `String` singleton types.
8
6
* ```scala
@@ -18,7 +16,6 @@ object string:
18
16
* ```
19
17
* @syntax markdown
20
18
*/
21
- @ experimental
22
19
type Length [+ X <: String ] <: Int
23
20
24
21
/** Substring of a `String` singleton type, with a singleton type
@@ -31,7 +28,6 @@ object string:
31
28
* ```
32
29
* @syntax markdown
33
30
*/
34
- @ experimental
35
31
type Substring [+ S <: String , + IBeg <: Int , + IEnd <: Int ] <: String
36
32
37
33
/** Tests if this `String` singleton type matches the given
@@ -41,7 +37,6 @@ object string:
41
37
* ```
42
38
* @syntax markdown
43
39
*/
44
- @ experimental
45
40
type Matches [+ S <: String , + Regex <: String ] <: Boolean
46
41
47
42
/** Returns the Char type at the specified index.
@@ -52,5 +47,4 @@ object string:
52
47
* ```
53
48
* @syntax markdown
54
49
*/
55
- @ experimental
56
50
type CharAt [+ S <: String , + Idx <: Int ] <: Char
You can’t perform that action at this time.
0 commit comments