- Sort Score
- Num 10 results
- Language All
- Labels All
Results 21 - 30 of 5,220 for int (0.03 seconds)
-
Annotations | Tour of Scala | Scala Documentation
x : Int ) : Int = { @tailrec def factorialHelper ( x : Int , accumulator...x : Int ) : Int = @tailrec def factorialHelper ( x : Int , accumulator...docs.scala-lang.org/tour/annotations.htmlFri Feb 06 04:30:27 GMT 2026 55.5K bytes -
Collections Methods | Scala 3 — Book | Scala Do...
Scala 3 def add ( x : Int , y : Int ) : Int = { val theSum = x +...theSum } def add ( x : Int , y : Int ) : Int = val theSum = x + y...docs.scala-lang.org/scala3/book/collections-methods.htmlFri Feb 06 04:30:27 GMT 2026 136.7K bytes -
클래스 | Scala Documentation
x : Int , var y : Int ) { def move ( dx : Int , dy : Int ) :...서명부(signature)에 있습니다 (var x : Int, var y : Int) . move 메소드는 두 개의 정수 인자를...docs.scala-lang.org/ko/tour/classes.htmlFri Feb 06 04:30:27 GMT 2026 85.8K bytes -
Scala 3 Syntax Rewriting | Scala 3 Migration Gu...
State ( n : Int , minValue : Int , maxValue : Int ) { def inc...State ( n : Int , minValue : Int , maxValue : Int ) { def inc...docs.scala-lang.org/scala3/guides/migration/tooling-syntax-rewriting.htmlThu Feb 05 16:30:25 GMT 2026 69.7K bytes -
Use cases | Quasiquotes | Scala Documentation
executing val x: Int = 1 executing val y: Int = x.+(Test.this.faulty)...object Macro { def apply(x: Int): Int = macro impl def impl(c: Context)(x:...docs.scala-lang.org/overviews/quasiquotes/usecases.htmlFri Feb 06 04:30:27 GMT 2026 42.4K bytes -
自定义 map 函数 | Scala 3 — Book | Scala Documentation
只关注 List[Int] ,你说: 我想编写一个 map 方法,该方法可用于将函数应用于给定的 List[Int] 中的每个元素,并将转换后的元素作为新列表返回。...A ]( f : ( Int ) => A ) 接下来,您知道 map 也应该接受 List[Int] : Scala 2...docs.scala-lang.org/zh-cn/scala3/book/fun-write-map-function.htmlFri Feb 06 04:30:27 GMT 2026 448.9K bytes -
Anonymous Functions | Scala Book | Scala Docume...
val ints = List ( 1 , 2 , 3 ) def double ( i : Int ) : Int = i...val ints = List . range ( 1 , 10 ) That code creates ints as a...docs.scala-lang.org/overviews/scala-book/anonymous-functions.htmlFri Feb 06 04:30:27 GMT 2026 78.8K bytes -
Binary APIs | Scala Documentation
protectedAPI : Int = ... @publicInBinary def publicAPI : Int = ... //...C (); public int packagePrivateAPI (); public int protectedAPI...docs.scala-lang.org/sips/52.htmlFri Feb 06 04:30:27 GMT 2026 45.8K bytes -
Quoted Patterns with Polymorphic Functions
Quotes): Expr[Int] = x match case '{ (a: Int, b: Int) => $y(a, b)...instead, an expression like (a: Int, b: Int) => a + b will not match...docs.scala-lang.org/scala3/reference/experimental/quoted-patterns-with-polymorphic-functions.htmlTue Jan 27 22:53:02 GMT 2026 33.1K bytes -
Code Objects — Python 3.14.3 documentation
PyUnstable_Code_New ( int argcount , int kwonlyargcount , int nlocals , int stacksize...nlyArgs ( int argcount , int posonlyargcount , int kwonlyargcount...docs.python.org/3/c-api/code.htmlSun Feb 22 06:33:52 GMT 2026 10.5K bytes