- Sort Score
- Num 10 results
- Language All
- Labels All
Results 261 - 270 of 5,398 for int (0.1 seconds)
-
函数是值 | Scala 3 — Book | Scala Documentation
double ( i : Int ) : Int = i * 2 def underFive ( i : Int ) : Boolean...的第二个重要特性是 您可以将函数创建为值 ,就像您创建 String 和 Int 值一样。 这个特性有很多好处,其中最常见的是(a)您可以...docs.scala-lang.org/zh-cn/scala3/book/fp-functions-are-values.htmlFri Feb 06 04:30:27 GMT 2026 445.9K bytes -
TypeTest
type Int object PeanoInt extends Peano: type Nat = Int type Zero...Zero = Int type Succ = Int def safeDiv(m: Nat, n: Succ): (Nat,...docs.scala-lang.org/scala3/reference/other-new-features/type-test.htmlTue Jan 27 22:53:02 GMT 2026 41.7K bytes -
A Scala Tutorial for Java Programmers | Scala D...
3 class Date ( y : Int , m : Int , d : Int ) extends Ord { def...} class Date ( y : Int , m : Int , d : Int ) extends Ord : def...docs.scala-lang.org/tutorials/scala-for-java-programmers.htmlWed Apr 29 03:30:28 GMT 2026 151.6K 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 -
Linking documentation | Scaladoc | Scala Docume...
with MD syntax: [](meth(Int)) vs [[meth(Int)]] Now that we have a...Markdown: [](meth(Int, Float)) vs [[meth(Int, Float)]] None of...docs.scala-lang.org/scala3/guides/scaladoc/linking.htmlFri Feb 06 04:30:27 GMT 2026 43.7K 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 -
Export Clauses
object O: class C(val x: Int) def m(c: C): Int = c.x + 1 export O.*...take(n: Int): String = x.substring(0, n) def drop(n: Int): String...docs.scala-lang.org/scala3/reference/other-new-features/export.htmlTue Jan 27 22:53:02 GMT 2026 48.2K bytes -
Scala Classes | Scala Book | Scala Documentation
age res0 : Int = 0 scala > p . age = 36 p . age : Int = 36 scala...Socket ( val timeout : Int , val linger : Int ) { override def toString...docs.scala-lang.org/overviews/scala-book/classes.htmlFri Feb 06 04:30:27 GMT 2026 75.6K bytes -
Capsules — Python 3.14.4 documentation
int PyCapsule_CheckExact ( PyObject...PyCapsule_Import ( const char * name , int no_block ) Part of the Stable...docs.python.org/3/c-api/capsule.htmlWed Apr 29 06:55:52 GMT 2026 7K bytes -
Iterator Protocol — Python 3.14.4 documen...
int PyIter_Check ( PyObject * o )...This function always succeeds. int PyAIter_Check ( PyObject * o...docs.python.org/3/c-api/iter.htmlWed Apr 29 06:55:52 GMT 2026 4.5K bytes