Tue Jul 4 18:04:10 CEST 2006
I recently gave an Erlang course and one of my students found
I would have expected a compiler error in this case. But as You
can see it compiles and runs with a somewhat unexpected result.
A similar error is a case statement gives a compiler error.
X > 1 ->
ok; % <- Note semicolon here
Erlang (BEAM) emulator version 5.5 [source] [async-threads:0] [hipe]
More information about the erlang-questions