File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
_zh-cn/overviews/scala3-book Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1310,7 +1310,9 @@ a.takeWhile(_ < 30) // List(10, 20)
1310
1310
Scala 中的有些概念目前在 Python 中没有等效的功能。
1311
1311
请点击以下链接了解更多详情:
1312
1312
1313
- - 大多数与[ 上下文抽象] [ contextual ] 相关的概念,如[ 扩展方法] [ extension-methods ] 、[ 类型类] [ type-classes ] 、隐式值
1313
+ <!-- TODO: add back [类型类][type-classes] link when translation is ready -->
1314
+ <!-- - 大多数与[上下文抽象][contextual]相关的概念,如[扩展方法][extension-methods]、[类型类][type-classes]、隐式值 -->
1315
+ - 大多数与[ 上下文抽象] [ contextual ] 相关的概念,如[ 扩展方法] [ extension-methods ] 、类型类、隐式值
1314
1316
- Scala 允许多参数列表,从而实现部分应用函数等特性,以及创建自己的 DSL 的能力
1315
1317
- 样例类,对于函数式编程和模式匹配非常有用
1316
1318
- 创建自己的控制结构和 DSL 的能力
@@ -1355,6 +1357,6 @@ pip install -r requirements.txt
1355
1357
[ modeling-intro] : {% link _ zh-cn/overviews/scala3-book/domain-modeling-intro.md %}
1356
1358
[ multiversal] : {% link _ zh-cn/overviews/scala3-book/ca-multiversal-equality.md %}
1357
1359
[ toplevel] : {% link _ zh-cn/overviews/scala3-book/taste-toplevel-definitions.md %}
1358
- [ type-classes] : {% link _ zh-cn/overviews/scala3-book/types-type-classes.md %}
1360
+ <!-- [type-classes]: LINK @ _zh-cn/overviews/scala3-book/types-type-classes.md -->
1359
1361
[ union-types] : {% link _ zh-cn/overviews/scala3-book/types-union.md %}
1360
1362
</div >
You can’t perform that action at this time.
0 commit comments