Difference between equal to and exactly equal to term comparison operators
erlang
Solution
The former (`==`) compares values; the latter (`=:=`) compares values and types.
1> 1 =:= 1.0.
false
2> 1 == 1.0.
true
Problem
What is the difference between the equal to (==) and exactly equal to (=:=) erlang term comparison operators?