- Sort Score
- Num 10 results
- Language All
- Labels All
Results 161 - 170 of 5,398 for int (0.12 seconds)
-
Scala 2.7迁移指南 | Collections | Scala Documentation
4)) xs: List[(Int, Int)] = List((1, 2), (3, 4)) scala>...List.unzip(xs) ^ res0: (List[Int], List[Int]) = (List(1, 3), List(2,...docs.scala-lang.org/zh-cn/overviews/collections/migrating-from-scala-27.htmlFri Feb 06 04:30:27 GMT 2026 124.1K bytes -
具象不変コレクションクラス | Collections | Scala Documentation
scala> def fibFrom(a: Int, b: Int): Stream[Int] = a #:: fibFrom(b,...a + b) fibFrom: (a: Int,b: Int)Stream[Int] この関数は嘘のように単純だ。数列の最初の要素は明らかに...docs.scala-lang.org/ja/overviews/collections/concrete-immutable-collection-classes.htmlFri Feb 06 04:30:27 GMT 2026 109.9K bytes -
ast — Abstract syntax trees — Python 3.14...
attributes ( int lineno , int col_offset , int ? end_lineno , int ? end_col_offset...attributes ( int lineno , int col_offset , int ? end_lineno , int ? end_col_offset...docs.python.org/3/library/ast.htmlTue Apr 28 13:41:04 GMT 2026 35.9K bytes -
Prelude꞉ A Taste of Scala | Scala Book | Scala ...
like: def sum ( a : Int , b : Int ) : Int = a + b def concatenate...val x = 1 x : Int = 1 scala > val y = x + 1 y : Int = 2 As those...docs.scala-lang.org/overviews/scala-book/prelude-taste-of-scala.htmlFri Feb 06 04:30:27 GMT 2026 106.9K bytes -
Integer Objects — Python 3.14.4 documenta...
the same object as int in the Python layer. int PyLong_Check ( PyObject...version 3.2. int PyLong_GetSign ( PyObject * obj , int * sign ) Get...docs.python.org/3/c-api/long.htmlWed Apr 29 06:55:52 GMT 2026 15.4K bytes -
Method Features | Scala 3 — Book | Scala Docume...
( a : Int , b : Int ) : Int = a + b def add ( a : Int , b : Int...addThenDouble ( a : Int , b : Int ) : Int = { // imagine that...docs.scala-lang.org/scala3/book/methods-most.htmlThu Feb 05 16:30:25 GMT 2026 131.2K bytes -
函数式错误处理 | Scala 3 — Book | Scala Documentation
在本例中,如果 x 可以转换为 Int ,则计算第一个 case 子句右侧的表达式;如果 x 不能转换为 Int ,则计算第二个 case...将是以下两种情况之一: 如果 所有 三个字符串都转换为 Int 值, y 将是 Some[Int] ,即包裹在 Some 中的整数 如果三个字符串中...docs.scala-lang.org/zh-cn/scala3/book/fp-functional-error-handling.htmlFri Feb 06 04:30:27 GMT 2026 471.2K bytes -
Type Inference | Tour of Scala | Scala Document...
Scala 2 and 3 def squareOf ( x : Int ) = x * x The compiler can infer...infer that the return type is an Int , so no explicit return type...docs.scala-lang.org/tour/type-inference.htmlWed Apr 29 03:30:28 GMT 2026 42.7K bytes -
Mapping Protocol — Python 3.14.4 document...
int PyMapping_Check ( PyObject *...string, rather than a PyObject * . int PyMapping_GetOptionalItem ( PyObject...docs.python.org/3/c-api/mapping.htmlTue Apr 28 13:41:04 GMT 2026 6.3K bytes -
Experimental Definitions
@experimental type Y = Int @experimental opaque type Z = Int def test: Unit...trait ExpSAM { def foo(x: Int): Int } def bar(f: ExpSAM): Unit...docs.scala-lang.org/scala3/reference/other-new-features/experimental-defs.htmlTue Jan 27 22:53:02 GMT 2026 52.3K bytes