基本的な演算子。
= は、パターンマッチ。 == は、弱い比較。 === == は、強い比較。
[erlang]
iex(1)> 1 = 1
1
iex(2)> 1 == 1
true
iex(3)> 1 === 1
true
[/erlang]
[erlang]
iex(1)> 1 = 1.0
** (MatchError) no match of right hand side value: 1.0
iex(2)> 1 == 1.0
true
iex(3)> 1 === 1.0
false
[/erlang]