- Sort Score
- Num 10 results
- Language All
- Labels All
Results 261 - 270 of 5,220 for int (0.07 seconds)
-
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
tabulate[A](n: Int)(gen: Int => A) = def recur(i: Int): LzyList[A]^{gen}...parameters. In def f(x: => Int): Int the actual argument can refer...docs.scala-lang.org/scala3/reference/experimental/cc.htmlMon Nov 10 02:53:02 GMT 2025 109.9K bytes -
Pure Functions | Scala Book | Scala Documentation
integers ( List[Int] ): def sum ( list : List [ Int ]) : Int = list match...given: def double ( i : Int ) : Int = i * 2 Although recursion...docs.scala-lang.org/overviews/scala-book/pure-functions.htmlFri Feb 06 04:30:27 GMT 2026 64.7K bytes -
Dependent Function Types - More Details
extends Fun[Int, String]: type Eff = CanThrow def apply(x: Int) = x.toString...test = val c = new C { type M = Int; val m = 3 } val depfun: DF =...docs.scala-lang.org/scala3/reference/new-types/dependent-function-types-spec.htmlTue Jan 27 22:53:02 GMT 2026 37.1K bytes -
Inline
abstract class A: def f: Int def g: Int = f class B extends A:...inline def f: Int object B extends A: inline def f: Int = 22 B.f //...docs.scala-lang.org/scala3/reference/metaprogramming/inline.htmlTue Jan 27 22:53:02 GMT 2026 57.6K bytes -
Pure Functions | Scala 3 — Book | Scala Documen...
2 and 3 def double ( i : Int ) : Int = i * 2 If you’re comfortable...3 def sum ( xs : List [ Int ]) : Int = xs match { case Nil =>...docs.scala-lang.org/scala3/book/fp-pure-functions.htmlFri Feb 06 04:30:27 GMT 2026 76.2K bytes -
トレイト | Scala Documentation
IntIterator ( to : Int ) extends Iterator [ Int ] { private var...を取ります。 extends Iterator[Int] は next メソッドは Int を返さなければならないことを意味します。...docs.scala-lang.org/ja/tour/traits.htmlFri Feb 06 04:30:27 GMT 2026 147.8K bytes -
Data marshalling support — Python 3.14.3 docume...
int version ) Marshal a long integer,...PyObject * value , FILE * file , int version ) Marshal a Python object,...docs.python.org/3/c-api/marshal.htmlFri Feb 06 03:23:27 GMT 2026 27.7K bytes -
Generics | Scala 3 — Book | Scala Documentation
Stack[Int] : Scala 2 Scala 3 val stack = new Stack [ Int ] stack...that you can now create a Stack[Int] , Stack[String] , and so on,...docs.scala-lang.org/scala3/book/types-generics.htmlFri Feb 06 04:30:27 GMT 2026 74.7K bytes -
ビュー | Collections | Scala Documentation
SeqView[Int,Vector[Int]] = SeqView(1, 2, 3, 4,...には2つの型パラメータがある。第1の Int はビューの要素の型を示す。第2の Vector[Int] は view を逆変換する時の型コンストラクタを示す。...docs.scala-lang.org/ja/overviews/collections/views.htmlFri Feb 06 04:30:27 GMT 2026 107K bytes