scopes.scala
来自「JAVA 语言的函数式编程扩展」· SCALA 代码 · 共 21 行
SCALA
21 行
case class test0(x: int, x: float)object test1 { type t = int type t = float val x: int = 0 val x: float = .0f; { val y: int = 0 val y: float = .0f () } def f1(x: int, x: float) = x def f2(x: int)(y: int, y: float) = x + y val closure = (x: int, x: float) => x List() match { case x::x => x case Nil => Nil }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?