[erlang-questions] a surprising atom

Bob Ippolito <>
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 <> wrote:
> Eshell V5.6.4  (abort with ^G)
> 1> X = ''.
> ''
> 2> is_atom(X).
> true
>
> --
> Anthony Shipman                    Mamas don't let your babies
>                    grow up to be outsourced.
> _______________________________________________
> erlang-questions mailing list
> 
> http://www.erlang.org/mailman/listinfo/erlang-questions
>



More information about the erlang-questions mailing list