[erlang-questions] Simple multi-case
Richard A. O'Keefe
ok@REDACTED
Mon Nov 13 01:49:00 CET 2006
"datacompboy" <datacompboy@REDACTED> asked:
Is there simple syntax for simple multi-case clauses?
It is not clear to me what "multi-case clauses" means;
from the example it looks a whole lot like decision tables.
Since there more than one call, but too small code to move it
into separate fun.
There is no such thing as code that is too small to move into a separate
function. Bear in mind that the Erlang compiler *can* expand simple
functions in-line, so splitting small chunks out need not have any
run-time overhead at all.
More information about the erlang-questions
mailing list