File tree Expand file tree Collapse file tree 6 files changed +0
-25
lines changed
library/src/scala/compiletime/ops Expand file tree Collapse file tree 6 files changed +0
-25
lines changed Original file line number Diff line number Diff line change 11package scala .compiletime
22package ops
33
4- import annotation .experimental
5-
64object any :
75 /** Equality comparison of two singleton types.
86 * ```scala
@@ -41,7 +39,6 @@ object any:
4139 * ```
4240 * @syntax markdown
4341 */
44- @ experimental
4542 type IsConst [X ] <: Boolean
4643
4744 /** String conversion of a constant singleton type.
@@ -51,5 +48,4 @@ object any:
5148 * ```
5249 * @syntax markdown
5350 */
54- @ experimental
5551 type ToString [+ X ] <: String
Original file line number Diff line number Diff line change 11package scala .compiletime
22package ops
33
4- import scala .annotation .experimental
5-
6- @ experimental
74object double :
85 /** Addition of two `Double` singleton types.
96 * ```scala
Original file line number Diff line number Diff line change 11package scala .compiletime
22package ops
33
4- import scala .annotation .experimental
5-
6- @ experimental
74object float :
85 /** Addition of two `Float` singleton types.
96 * ```scala
Original file line number Diff line number Diff line change 11package scala .compiletime
22package ops
33
4- import annotation .experimental
5-
64object int :
75 /** Successor of a natural number where zero is the type 0 and successors are reduced as if the definition was:
86 *
@@ -192,7 +190,6 @@ object int:
192190 * ```
193191 * @syntax markdown
194192 */
195- @ experimental
196193 type ToLong [+ X <: Int ] <: Long
197194
198195 /** Float conversion of an `Int` singleton type.
@@ -201,7 +198,6 @@ object int:
201198 * ```
202199 * @syntax markdown
203200 */
204- @ experimental
205201 type ToFloat [+ X <: Int ] <: Float
206202
207203 /** Double conversion of an `Int` singleton type.
@@ -210,7 +206,6 @@ object int:
210206 * ```
211207 * @syntax markdown
212208 */
213- @ experimental
214209 type ToDouble [+ X <: Int ] <: Double
215210
216211 /** Number of zero bits preceding the highest-order ("leftmost")
@@ -225,5 +220,4 @@ object int:
225220 * ```
226221 * @syntax markdown
227222 */
228- @ experimental
229223 type NumberOfLeadingZeros [+ X <: Int ] <: Int
Original file line number Diff line number Diff line change 11package scala .compiletime
22package ops
33
4- import scala .annotation .experimental
5-
6- @ experimental
74object long :
85 /** Successor of a natural number where zero is the type 0 and successors are reduced as if the definition was:
96 *
Original file line number Diff line number Diff line change 11package scala .compiletime
22package ops
33
4- import scala .annotation .experimental
5-
64object string :
75 /** Concatenation of two `String` singleton types.
86 * ```scala
@@ -18,7 +16,6 @@ object string:
1816 * ```
1917 * @syntax markdown
2018 */
21- @ experimental
2219 type Length [+ X <: String ] <: Int
2320
2421 /** Substring of a `String` singleton type, with a singleton type
@@ -31,7 +28,6 @@ object string:
3128 * ```
3229 * @syntax markdown
3330 */
34- @ experimental
3531 type Substring [+ S <: String , + IBeg <: Int , + IEnd <: Int ] <: String
3632
3733 /** Tests if this `String` singleton type matches the given
@@ -41,7 +37,6 @@ object string:
4137 * ```
4238 * @syntax markdown
4339 */
44- @ experimental
4540 type Matches [+ S <: String , + Regex <: String ] <: Boolean
4641
4742 /** Returns the Char type at the specified index.
@@ -52,5 +47,4 @@ object string:
5247 * ```
5348 * @syntax markdown
5449 */
55- @ experimental
5650 type CharAt [+ S <: String , + Idx <: Int ] <: Char
You can’t perform that action at this time.
0 commit comments