- Sort Score
- Num 10 results
- Language All
- Labels All
Results 31 - 40 of 5,398 for int (0.1 seconds)
-
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 -
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 -
typing — Support for type hints — Python ...
Union [ int , str , int ] == Union [ int , str ] == int | str When...# Has type ``int`` b = int # Has type ``type[int]`` c = type (...docs.python.org/3/library/typing.htmlTue Apr 28 13:41:04 GMT 2026 60.6K bytes -
Polymorphic Methods | Tour of Scala | Scala Doc...
writing [Int] . Therefore the first argument must be an Int and the...listOfDuplicates [ A ]( x : A , length : Int ) : List [ A ] = { if ( length...docs.scala-lang.org/tour/polymorphic-methods.htmlWed Apr 29 03:30:28 GMT 2026 36.8K 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 -
A First Look at Scala Methods | Scala Book | Sc...
def add ( a : Int , b : Int , c : Int ) : Int = a + b + c Multiline...shown: def add ( a : Int , b : Int ) : Int = a + b Here’s a method...docs.scala-lang.org/overviews/scala-book/methods-first-look.htmlFri Feb 06 04:30:27 GMT 2026 65K bytes -
Implicit Conversions | Scala 3 — Book | Scala D...
conversion from Int to Long : given int2long : Conversion [ Int , Long...Conversion [ Int , Long ] with def apply ( x : Int ) : Long = x...docs.scala-lang.org/scala3/book/ca-implicit-conversions.htmlFri Feb 06 04:30:27 GMT 2026 87.7K bytes -
Scala 3 Macros | Macros in Scala 3 | Scala Docu...
def sumNow ( inline nums : Int* ) : Int = $ { sumCode ( 'nums )...Expr [ Seq [ Int ]])( using Quotes ) : Expr [ Int ] = import ...docs.scala-lang.org/scala3/guides/macros/macros.htmlFri Feb 06 04:30:27 GMT 2026 77.3K bytes -
Function Variables | Scala 3 — Book | Scala Doc...
the type `Int => Int` functionList: List[Int => Int] // a Map...type `Int => Int` functionMap: Map[String, Int => Int] Key points...docs.scala-lang.org/scala3/book/fun-function-variables.htmlFri Feb 06 04:30:27 GMT 2026 82.5K bytes