Small poll

Vlad Dumitrescu vlad_dumitrescu@REDACTED
Wed Dec 10 20:22:59 CET 2003


> test(A) ->
>     a + 42.

For the "A vs a" problem, there is already a warning being issued. Possibly
the full warnings options should be enabled by default?

Since both a and 42 are constants, I feel it would be easy (besides useful)
to be able to detect it at compile time. The operation should even be
evaluated at compile time, IMHO.


More information about the erlang-questions mailing list