-
> scala
## 1. 函数定义
scala中函数使用以下的语法进行定义
![](http://i.imgur.com/7xCuQAO.jpg)
## 2. 函数字面量(Function Literals)
![](http://i.imgur.com/nyYx3nI.jpg)
这个词我每次看到都很困惑,我自己一直把它理解为匿名函数或者类lambda表达式之类的,我去google了一下…
-
There is a page for libraries and tools (https://www.scala-lang.org/community/index.html#community-libraries-and-tools) and I know that an IDE is technically a tool, but:
1. No IDE is mentioned there…
-
Thanks for your work. Would love to see Scala, a very pleasant to use general-purpose programming language.
Scala language
https://www.scala-lang.org/
Official logo
![image](https://github.com…
-
- The original functionality was implemented in #7291.
However, it seems that it does not support specifying the parent directory, which seems to break download functionality in nested folders on `…
-
-
We would like to add some mechanisms for generic programming support in Dotty. As a first step, we should work on a document that lists
**Requirements:** What changes do we envision? Some possibilit…
-
The relevant state-of-the-art projects and publications should be explored in order to get inspiration and come up with good ideas. Below is the list of things to start exploration with. The outcomes …
-
## Compiler version
compiler version: version 3.4.2
settings: -Ysafe-init true
## Minimized code
```Scala
class Macro:
def tuple[T](name: String): (String, List[T]) = (name, List[T]())…
-
Some attendees will be completely new to programming. We want material that covers the basics of programming:
- what is a variable, an expression, a method?
- what are data structures?
- how do i loop…
-