- Sort Score
- Num 10 results
- Language All
- Labels All
Results 71 - 80 of 5,398 for int (0.19 seconds)
-
The @targetName annotation
=> String): Int = x.length def f(x: => Int): Int = x + 1 // error:...=> String): Int = x.length def f(x: => Int): Int = x + 1 // OK...docs.scala-lang.org/scala3/reference/other-new-features/targetName.htmlTue Jan 27 22:53:02 GMT 2026 37.2K bytes -
Functional Error Handling | Scala 3 — Book | Sc...
strings convert to Int values, y will be a Some[Int] , i.e., an integer...def makeInt ( s : String ) : Int = try { Integer . parseInt (...docs.scala-lang.org/scala3/book/fp-functional-error-handling.htmlFri Feb 06 04:30:27 GMT 2026 107.2K bytes -
A Few Built-In Types | Scala Book | Scala Docum...
default to Int and Double : scala > val i = 123 i : Int = 123 scala...types: val b : Byte = 1 val x : Int = 1 val l : Long = 1 val s :...docs.scala-lang.org/overviews/scala-book/built-in-types.htmlFri Feb 06 04:30:27 GMT 2026 65.9K bytes -
基本 | Scala Documentation
addThenMultiply ( x : Int , y : Int )( multiplier : Int ) : Int = ( x + y...きます。 def add ( x : Int , y : Int ) : Int = x + y println ( add...docs.scala-lang.org/ja/tour/basics.htmlFri Feb 06 04:30:27 GMT 2026 166.9K bytes -
Changes in Overload Resolution
g(x: Int)(y: Int)(z: Int): Int = 0 def g(x: Int)(y: Int)(z: String):...f(x: Int)(y: String): Int = 0 def f(x: Int)(y: Int): Int = 0 f(3)("")...docs.scala-lang.org/scala3/reference/changed-features/overload-resolution.htmlTue Jan 27 22:53:02 GMT 2026 34.3K bytes -
Type Objects — Python 3.14.4 documentation
int PyType_ClearWatcher ( int watcher_id ) Clear...Added in version 3.12. int PyType_Watch ( int watcher_id , PyObject...docs.python.org/3/c-api/type.htmlWed Apr 29 06:55:52 GMT 2026 14.7K bytes -
Parsing arguments and building values — P...
to a C short int . H ( int ) [unsigned short int] Convert a Python...short int , without overflow checking. i ( int ) [int] Convert...docs.python.org/3/c-api/arg.htmlWed Apr 29 06:55:52 GMT 2026 16.2K bytes -
Collections Methods | Scala 3 — Book | Scala Do...
Scala 3 def add ( x : Int , y : Int ) : Int = { val theSum = x +...theSum } def add ( x : Int , y : Int ) : Int = val theSum = x + y...docs.scala-lang.org/scala3/book/collections-methods.htmlFri Feb 06 04:30:27 GMT 2026 136.7K 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 As shown...docs.scala-lang.org/scala3/book/taste-repl.htmlWed Apr 29 03:30:28 GMT 2026 71.4K bytes -
The Set Class | Scala Book | Scala Documentation
Set [ Int ]() val set : scala.collection.mutable.Set [ Int ] =...collection . mutable . Set [ Int ]() You add elements to a mutable...docs.scala-lang.org/overviews/scala-book/set-class.htmlFri Feb 06 04:30:27 GMT 2026 72K bytes