- Sort Score
- Num 10 results
- Language All
- Labels All
Results 171 - 180 of 5,220 for int (0.08 seconds)
-
Control Structures | Scala 3 — Book | Scala Doc...
3 val ints = List ( 1 , 2 , 3 , 4 , 5 ) for ( i <- ints ) println...loop. val ints = List ( 1 , 2 , 3 , 4 , 5 ) for i <- ints do println...docs.scala-lang.org/scala3/book/taste-control-structures.htmlThu Feb 05 16:30:25 GMT 2026 119.8K bytes -
An OOP Example | Scala Book | Scala Documentation
Int ], crustSizePrices : Map [ CrustSize , Int ], crustTypePrices...crustTypePrices : Map [ CrustType , Int ] ) : Int = ??? Note that this is...docs.scala-lang.org/overviews/scala-book/oop-pizza-example.htmlFri Feb 06 04:30:27 GMT 2026 74.3K bytes -
方法 | Scala 3 — Book | Scala Documentation
and 3 def sum ( a : Int , b : Int ) : Int = a + b def concatenate...Scala 2 and 3 def sum ( a : Int , b : Int ) = a + b def concatenate...docs.scala-lang.org/zh-cn/scala3/book/taste-methods.htmlFri Feb 06 04:30:27 GMT 2026 450.9K bytes -
Improve Syntax for Context Bounds and Givens | ...
typeclass given Ord[Int]: def compare(x: Int, y: Int) = … // Parameterized...given intOrd: Ord[Int]: def compare(x: Int, y: Int) = ... // Parameterized...docs.scala-lang.org/sips/64.htmlFri Feb 06 04:30:27 GMT 2026 101.4K bytes -
List Objects — Python 3.14.3 documentation
int PyList_Check ( PyObject * p )...This function always succeeds. int PyList_CheckExact ( PyObject...docs.python.org/3/c-api/list.htmlFri Feb 06 03:23:27 GMT 2026 43.9K bytes -
The REPL | Scala 3 — Book | Scala Documentation
sum(a: Int, b: Int): Int = a + b def sum(a: Int, b: Int): Int scala>...+ 1 val res0: Int = 2 scala> 2 + 2 val res1: Int = 4 如输出所示,如果您不为表达式的结果分配变量,REPL...docs.scala-lang.org/zh-cn/scala3/book/taste-repl.htmlFri Feb 06 04:30:27 GMT 2026 436.2K bytes -
アノテーション | Scala Documentation
x : Int ) : Int = { @tailrec def factorialHelper ( x : Int , accumulator...factorial(x: Int): Int = { @tailrec def factorialHelper(x: Int): Int...docs.scala-lang.org/ja/tour/annotations.htmlFri Feb 06 04:30:27 GMT 2026 149.1K bytes -
API and ABI Versioning — Python 3.14.3 document...
Py_PACK_FULL_VERSION ( int major , int minor , int micro , int release_level...uint32_t Py_PACK_VERSION ( int major , int minor ) Part of the Stable...docs.python.org/3/c-api/apiabiversion.htmlFri Feb 06 03:23:27 GMT 2026 27.4K bytes -
Adding Custom Collection Operations (Scala 2.13...
Generator of `Int` values */ implicit def int : Gen [ Int ] = new Gen...of `Int` values */ given Gen [ Int ] with def get : Int = Random...docs.scala-lang.org/overviews/core/custom-collection-operations.htmlFri Feb 06 04:30:27 GMT 2026 94.7K bytes -
The Matchable Trait
imm: IArray[Int] = ... imm match case a: Array[Int] => a(0) =...casting: imm.asInstanceOf[Array[Int]](0) = 1 But that is not as much...docs.scala-lang.org/scala3/reference/other-new-features/matchable.htmlTue Jan 27 22:53:02 GMT 2026 38.6K bytes