- Sort Score
- Num 10 results
- Language All
- Labels All
Results 151 - 160 of 5,220 for int (0.05 seconds)
-
Concrete Immutable Collection Classes | Collect...
scala> def fibFrom(a: Int, b: Int): Stream[Int] = a #:: fibFrom(b,...a + b) fibFrom: (a: Int,b: Int)Stream[Int] This function is deceptively...docs.scala-lang.org/overviews/collections/concrete-immutable-collection-classes.htmlFri Feb 06 04:30:27 GMT 2026 60K bytes -
Common Sequence Methods | Scala Book | Scala Do...
output: def add ( x : Int , y : Int ) : Int = { val theSum = x +...emptyList = List [ Int ]() val emptyList : List [ Int ] = List () scala...docs.scala-lang.org/overviews/scala-book/collections-methods.htmlFri Feb 06 04:30:27 GMT 2026 95.4K bytes -
Implicit Classes | Scala Documentation
Bar(x: Int) // BAD! val x = 5 implicit class x(y: Int) // BAD!...implicit class IntWithTimes(x: Int) { def times[A](f: => A): Unit...docs.scala-lang.org/overviews/core/implicit-classes.htmlFri Feb 06 04:30:27 GMT 2026 28.3K bytes -
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 -
중첩 함수 | Scala Documentation
List[Int], threshold: Int) = { def process(ys: List[Int]): List[Int]...List[Int] = if (ys.isEmpty) ys else if (ys.head < threshold) ys.head...docs.scala-lang.org/ko/tour/nested-functions.htmlFri Feb 06 04:30:27 GMT 2026 73.2K bytes -
The Vector Class | Scala Book | Scala Documenta...
3 ) a : Vector [ Int ] = Vector ( 1 , 2 , 3 ) scala...val b = a :+ 4 b : Vector [ Int ] = Vector ( 1 , 2 , 3 , 4 )...docs.scala-lang.org/overviews/scala-book/vector-class.htmlFri Feb 06 04:30:27 GMT 2026 67.3K bytes -
Arrays | Collections | Scala Documentation
Scala array Array[Int] is represented as a Java int[] , an Array[Double]...collection.Seq [ Int ] = a1 val seq : scala.collection.Seq [ Int ] = ArraySeq...docs.scala-lang.org/overviews/collections-2.13/arrays.htmlFri Feb 06 04:30:27 GMT 2026 87.5K bytes -
Named Tuples | Scala Documentation
: Expr [ Int ], y : Expr [ Int ]) extends Expr [ Int ] case class...( zipCode : Int , name : String , population : Int ) val city...docs.scala-lang.org/sips/58.htmlFri Feb 06 04:30:27 GMT 2026 129.6K bytes -
Remote debugging attachment protocol — Python 3...
find_py_runtime_linux ( pid : int ) -> int : # Step 1: Try to find...find_py_runtime_macos ( pid : int ) -> int : # Step 1: Get access to...docs.python.org/3/howto/remote_debugging.htmlFri Feb 06 03:23:28 GMT 2026 65.4K bytes -
Why is my abstract or overridden val null? | FA...
added: Set[Int] = Set.empty override def add(x: Int): Unit = {...Adder { var sum = 0 def add(x: Int): Unit = sum += x add(1) // in...docs.scala-lang.org/tutorials/FAQ/initialization-order.htmlThu Feb 05 16:30:25 GMT 2026 43.6K bytes