[erlang-questions] unexpected result of term_to_binary
Ivan Uemlianin
ivan@REDACTED
Mon Jan 21 20:44:57 CET 2013
What's the difference between a list of integers and a string?
--
festina lente
On 21 Jan 2013, at 19:38, Steve Davis <steven.charles.davis@REDACTED> wrote:
> The following appears to encode lists of integers as strings (?!?):
>
> Eshell V5.9.3 (abort with ^G)
> 1> term_to_binary([1,2,3,4]).
> <<131,107,0,4,1,2,3,4>>
>
> Is there a reason for this that I'm missing?
>
> regs,
> /s
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
More information about the erlang-questions
mailing list