[erlang-questions] Compiler list comprehension optimizations

Jonathan Leivent jleivent@REDACTED
Fri Jun 14 16:56:22 CEST 2013


On 06/14/2013 03:48 AM, Anthony Ramine wrote:
> ...
> It doesn't, the compiler knows that "_" is not a variable and thus that the value of the expression ins't used. The match is there solely to silence the Dialyzer warning, to tell him you know what you are doing.

Thanks - that's nice to know.

-- Jonathan




More information about the erlang-questions mailing list