- Sort Score
- Num 10 results
- Language All
- Labels All
Results 411 - 420 of 5,398 for int (0.61 seconds)
-
Scala 3 特性 | Scala 3 — Book | Scala Documentation
def double ( ints : List [ Int ]) : List [ Int ] = { val buffer...def double ( ints : List [ Int ]) : List [ Int ] = val buffer...docs.scala-lang.org/zh-cn/scala3/book/scala-features.htmlFri Feb 06 04:30:27 GMT 2026 468.6K bytes -
Scala Cheatsheet | Scala Documentation
Good def f(x: Int) = { x * x } Bad def f(x: Int) { x * x } 関数定義...map (_ * 2) 中間記法 def sum(args: Int*) = args.reduceLeft(_+_) 可変長引数...docs.scala-lang.org/ja/cheatsheets/index.htmlFri Feb 06 04:30:27 GMT 2026 49.4K bytes -
Instance Method Objects — Python 3.14.4 d...
int PyInstanceMethod_Check ( PyObject...programs as types.MethodType . int PyMethod_Check ( PyObject * o...docs.python.org/3/c-api/method.htmlWed Apr 29 06:55:52 GMT 2026 4.5K bytes -
main 方法 | Scala 3 — Book | Scala Documentation
例如,给定这个 @main 方法,它接受一个 Int 、一个 String 和一个可变参数 String* 参数:...@main def happyBirthday ( age : Int , name : String , others : String*...docs.scala-lang.org/zh-cn/scala3/book/methods-main-methods.htmlFri Feb 06 04:30:27 GMT 2026 449.3K bytes -
Scaladoc | Style Guide | Scala Documentation
for converting to and from `Int`. * * ==Overview== * The main...class Person(name: String, age: Int) { } Depending on the complexity...docs.scala-lang.org/style/scaladoc.htmlFri Feb 06 04:30:27 GMT 2026 36.4K bytes -
Mixing Scala 2.13 and Scala 3 Macros | Scala 3 ...
line : Int ) object Macros : def location:...Location ( path : String , line : Int ) object Macros : def location:...docs.scala-lang.org/scala3/guides/migration/tutorial-macro-mixing.htmlWed Apr 29 03:30:28 GMT 2026 69.2K bytes -
First-Class Functions | Scala 3 — Book | Scala ...
docs.scala-lang.org/scala3/book/taste-functions.htmlWed Apr 29 03:30:28 GMT 2026 73.6K bytes -
Relationship with Scala 2 Implicits
given intOrd: Ord[Int] { ... } maps to implicit object...object intOrd extends Ord[Int] { ... } Parameterized givens are...docs.scala-lang.org/scala3/reference/contextual/relationship-implicits.htmlTue Jan 27 22:53:02 GMT 2026 43.2K bytes -
The sequence traits Seq, IndexedSeq, and Linear...
partial function that takes an Int argument (an index) and which...Seq[T] extends PartialFunction[Int, T] . The elements of a sequence...docs.scala-lang.org/overviews/collections/seqs.htmlFri Feb 06 04:30:27 GMT 2026 65.2K bytes -
How to serialize an object to JSON? | The Scala...
serialize primitive types such as Int or String , as well as standard...and 3 val map : Map [ String , Int ] = Map ( "Toolkitty" -> 3 ,...docs.scala-lang.org/toolkit/json-serialize.htmlFri Feb 06 04:30:27 GMT 2026 65.7K bytes