Problem in finding the difference between string and list

Daniel Neri <>
Sun Dec 31 01:07:49 CET 2000


Mickael Remond <> writes:

> [{field1, "test"}, {field2, [12,13,14]}] should be converted to:

You could add a "type tag" to resolve the ambiguities in the Erlang
representation (assuming you invented that yourself):

  [{field1, {string,"test"}}, {field2, [12,13,14]}]

> - use of binary type instead of string ? (Is there any problem with
> that ?)

None that I can think of.



Regards,
   --Daniel


-- 
Daniel Neri




More information about the erlang-questions mailing list