- Sort Score
- Num 10 results
- Language All
- Labels All
Results 1 - 10 of 664 for int (0.03 seconds)
-
Higher-Order Functions | Scala 3 — Book | Scala...
executeAndPrint ( f : ( Int , Int ) => Int , i : Int , j : Int ) : Unit =...a : Int , b : Int ) : Int = a + b def subtract ( a : Int , b...docs.scala-lang.org/scala3/book/fun-hofs.htmlFri Feb 06 04:30:27 GMT 2026 106.6K bytes -
Named and Default Arguments | Scala Documentation
trait A { def f(a: Int = 1, b: Int): (Int, Int) } // B: inherit...def f(a: Int): Int } class B extends A { def f(x: Int) = x } val...docs.scala-lang.org/sips/1.htmlFri Feb 06 04:30:27 GMT 2026 39.5K bytes -
Abstract Type Members | Tour of Scala | Scala D...
( e1 : Int , e2 : Int ) : SeqBuffer [ Int , Seq [ Int ]] = new...( e1 : Int , e2 : Int ) : SeqBuffer [ Int , Seq [ Int ]] = new...docs.scala-lang.org/tour/abstract-type-members.htmlWed Apr 29 03:30:28 GMT 2026 48.8K bytes -
Implicit classes | Scala Documentation
RichInt(n: Int) extends Ordered[Int] { def min(m: Int): Int = if (n...RichInt(n: Int) extends Ordered[Int] { def min(m: Int): Int = if (n...docs.scala-lang.org/sips/13.htmlFri Feb 06 04:30:27 GMT 2026 27.6K bytes -
MainAnnotation
sum(first: Int, second: Int = 0, rest: Int*): Int = first + second...parser of Int val args1 = mainAnnot.argGetter[Int](info.parameters(1),...docs.scala-lang.org/scala3/reference/experimental/main-annotation.htmlTue Jan 27 22:53:02 GMT 2026 37.5K bytes -
Byname implicit arguments | Scala Documentation
List [( Int , Int )] type B = List [( Int , ( Int , Int ))] type...Show[Either[Cons[Int], Unit]] V Show[Cons[Int]] V Show[(Int, List[Int])] V...docs.scala-lang.org/sips/31.htmlFri Feb 06 04:30:27 GMT 2026 106.3K bytes -
Scala for Java Developers | Scala 3 — Book | Sc...
add(a: Int, b: Int): Int def multiply(a: Int, b: Int): Int = a *...Adder { int add(int a, int b); default int multiply( int a, int...docs.scala-lang.org/scala3/book/scala-for-java-devs.htmlFri Feb 06 04:30:27 GMT 2026 118.9K bytes -
Other Changed Features | Scala 3 Migration Guid...
function of type Int => (=> Int) => Int to the uncurried...3:41 3 | val g: (Int, => Int) => Int = Function.uncurried(f)...docs.scala-lang.org/scala3/guides/migration/incompat-other-changes.htmlWed Apr 29 03:30:28 GMT 2026 77.3K bytes -
Replace non-sensical @unchecked annotations | S...
opposite: xs match case ints : List [ Int @unchecked ] => Here,...trusts the user that ints is a List[Int] . This could lead to...docs.scala-lang.org/sips/57.htmlFri Feb 06 04:30:27 GMT 2026 52.2K bytes -
Parameter Untupling
Conversion[(Int, Int) => Int, ((Int, Int)) => Int] = _.tupled...List[(Int, Int)] and you want to map xs to a list of Int s so...docs.scala-lang.org/scala3/reference/other-new-features/parameter-untupling.htmlTue Jan 27 22:53:02 GMT 2026 31.9K bytes