- Sort Score
- Num 10 results
- Language All
- Labels All
Results 231 - 240 of 5,220 for int (0.09 seconds)
-
Lifting | Quasiquotes | Scala Documentation
scala> val ints = List(1, 2, 3) scala> val f123 = q"f(..$ints)" f123:...e._ case class Point(x: Int, y: Int) object Point { implicit...docs.scala-lang.org/overviews/quasiquotes/lifting.htmlFri Feb 06 04:30:27 GMT 2026 52.9K bytes -
Literal-based singleton types | Scala Documenta...
// Greater[Int(5)] does not imply // Greater[Int(6)] // val c:...succinctly, val a: Int Refined Greater[5] = 10 val b: Int Refined Greater[4]...docs.scala-lang.org/sips/23.htmlFri Feb 06 04:30:27 GMT 2026 60K bytes -
控制结构 | Scala 3 — Book | Scala Documentation
3 def compare ( a : Int , b : Int ) : Int = if ( a < b ) - 1 else...1 def compare ( a : Int , b : Int ) : Int = if a < b then - 1...docs.scala-lang.org/zh-cn/scala3/book/control-structures.htmlFri Feb 06 04:30:27 GMT 2026 548.5K bytes -
Scala for Python Developers | Scala 3 — Book | ...
return a + b def add(a: Int, b: Int): Int = a + b Multiline method:...< b else b def min(a: Int, b: Int): Int = if a < b then a else...docs.scala-lang.org/scala3/book/scala-for-python-devs.htmlFri Feb 06 04:30:27 GMT 2026 125K bytes -
具体的可变容器类 | Collections | Scala Documentation
mpty[Int] buf: scala.collection.mutable.ArrayBuffer[Int] = ArrayBuffer()...mpty[Int] buf: scala.collection.mutable.ListBuffer[Int] = ListBuffer()...docs.scala-lang.org/zh-cn/overviews/collections/concrete-mutable-collection-classes.htmlFri Feb 06 04:30:27 GMT 2026 134.2K bytes -
PyTime C API — Python 3.14.3 documentation
int PyTime_Monotonic ( PyTime_t *...important details on this clock. int PyTime_PerfCounter ( PyTime_t...docs.python.org/3/c-api/time.htmlFri Feb 06 03:23:27 GMT 2026 27.2K bytes -
Hygiene | Quasiquotes | Scala Documentation
$x"); x } def apply(x: Int): Int = macro impl def impl(c: Context)(x:...object MyMacro { def wrapper(x: Int) = { println(s"wrapped x = $x");...docs.scala-lang.org/overviews/quasiquotes/hygiene.htmlFri Feb 06 04:30:27 GMT 2026 46.9K bytes -
Function Objects — Python 3.14.3 documentation
int PyFunction_ClearWatcher ( int watcher_id ) Clear...programmers as types.FunctionType . int PyFunction_Check ( PyObject *...docs.python.org/3/c-api/function.htmlFri Feb 06 03:23:27 GMT 2026 49.4K bytes -
Partial Functions | Scala 3 — Book | Scala Docu...
doubledOdds : PartialFunction [ Int , Int ] = { case i if i % 2 == 1...incrementedEvens : PartialFunction [ Int , Int ] = { case i if i % 2 == 0...docs.scala-lang.org/scala3/book/fun-partial-functions.htmlFri Feb 06 04:30:27 GMT 2026 74.5K bytes -
Capture Checking Basics
In def f(x: => Int): Int the actual argument can refer...defined like this def f(x: -> Int): Int the actual argument to f could...docs.scala-lang.org/scala3/reference/experimental/capture-checking/basics.htmlTue Jan 27 22:53:02 GMT 2026 54.7K bytes