[erlang-questions] a surprising atom

Bob Ippolito bob@REDACTED
Wed Oct 22 20:08:13 CEST 2008


Why is that surprising? Is it any more surprising than this?

1> list_to_atom([0]).
'\000'
2> list_to_atom([255]).
?

On Wed, Oct 22, 2008 at 10:45 AM, Anthony Shipman <als@REDACTED> wrote:
> Eshell V5.6.4  (abort with ^G)
> 1> X = ''.
> ''
> 2> is_atom(X).
> true
>
> --
> Anthony Shipman                    Mamas don't let your babies
> als@REDACTED                   grow up to be outsourced.
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>



More information about the erlang-questions mailing list