- Sort Score
- Num 10 results
- Language All
- Labels All
Results 51 - 60 of 5,398 for int (0.16 seconds)
-
For Comprehensions | Tour of Scala | Scala Docu...
2 Scala 3 def foo ( n : Int , v : Int ) = for ( i <- 0 until...(9, 1) } def foo ( n : Int , v : Int ) = for i <- 0 until...docs.scala-lang.org/tour/for-comprehensions.htmlWed Apr 29 03:30:28 GMT 2026 48.8K 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 -
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 -
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 -
Multiple Parameter Lists | Tour of Scala | Scal...
match the inferred type (Int, Int) => Int Scala 2 and 3 def foldLeft2...def firstWay = foldLeft1 [ Int , Int ]( numbers , 0 , _ + _ ) def...docs.scala-lang.org/tour/multiple-parameter-lists.htmlWed Apr 29 03:30:28 GMT 2026 57.1K bytes -
Declarations | Style Guide | Scala Documentation
f3 = (_: Int) + (_: Int) val f4: (Int, Int) => Int = (_ + _)...= ((a: Int, b: Int) => a + b) val f2 = (a: Int, b: Int) => a +...docs.scala-lang.org/style/declarations.htmlFri Feb 06 04:30:27 GMT 2026 40.9K bytes -
Automatic Eta Expansion
String) => Int => List[Int] f2: Int => List[Int] The syntax...Boolean, y: String)(z: Int): List[Int] val f1 = m val f2 = m(true,...docs.scala-lang.org/scala3/reference/changed-features/eta-expansion.htmlTue Jan 27 22:53:02 GMT 2026 29.9K bytes -
API and ABI Versioning — Python 3.14.4 do...
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.htmlWed Apr 29 06:55:52 GMT 2026 5.2K bytes -
Concrete Mutable Collection Classes | Collectio...
empty [ Int ] buf : scala.collection.mutable.ArrayBuffer [ Int ] =...empty [ Int ] buf : scala.collection.mutable.ListBuffer [ Int ] =...docs.scala-lang.org/overviews/collections-2.13/concrete-mutable-collection-classes.htmlFri Feb 06 04:30:27 GMT 2026 80.5K bytes -
Expression details | Quasiquotes | Scala Docume...
Tree] = List(def g(x: Int)(implicit y: Int): Int = x.+(y), implicit...trees: scala> val q"${x: Int}" = q"1" x: Int = 1 Similarly, it would...docs.scala-lang.org/overviews/quasiquotes/expression-details.htmlFri Feb 06 04:30:27 GMT 2026 72.8K bytes