[erlang-questions] unexpected result of term_to_binary

Steve Davis steven.charles.davis@REDACTED
Mon Jan 21 20:38:16 CET 2013


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




More information about the erlang-questions mailing list