Skip to content

Commit

Permalink
[CN] change typo in cn/lessons/basics/collections.md (elixirschool#813)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShallmentMo authored and cizixs committed Nov 21, 2016
1 parent 1dd91e0 commit d0b9c23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cn/lessons/basics/collections.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ iex> [1, 2] ++ [3, 4, 1]
[1, 2, 3, 4, 1]
```

关于上面使用到的 `++/2` 格式的说明:在 Elixir 中(以及 Elixir 的基础语言 Erlang),函数和操作符的名字由两部分组成:名字和元数(arity)。元数是 Elixir 和 Erlang 代码非诚核心的部分,它代表了给定函数接受的参数个数(比如这里的 2),元数和名字之间通过斜线分割。我们后面会讲到更多这方面的内容,知道这些已经能帮你理解它的含义了。
关于上面使用到的 `++/2` 格式的说明:在 Elixir 中(以及 Elixir 的基础语言 Erlang),函数和操作符的名字由两部分组成:名字和元数(arity)。元数是 Elixir 和 Erlang 代码非常核心的部分,它代表了给定函数接受的参数个数(比如这里的 2),元数和名字之间通过斜线分割。我们后面会讲到更多这方面的内容,知道这些已经能帮你理解它的含义了。

### 列表减法

Expand Down

0 comments on commit d0b9c23

Please sign in to comment.