[erlang-questions] Bad warning when using short-circuit booleanexpressions

fess fess-erlang@REDACTED
Fri Mar 13 23:05:14 CET 2009


hmm, Then he couldn't use it as a guard.

On Mar 13, 2009, at 3:00 PM, Michael McDaniel wrote:

>  you could replace the macro ...
>
>
> -export([is_dict/1]).
>
> is_dict(D) ->
>     is_tuple (D) andalso element (1, D) =:= dict
> .



--fess






More information about the erlang-questions mailing list