What is the difference between the equal to (==) and exactly equal to (=:=) erlang term comparison operators?
The former (==
) compares values; the latter (=:=
) compares values and types.
1> 1 =:= 1.0.
false
2> 1 == 1.0.
true
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With