List to term
From Erlang Community
There is not a list_to_term() function, but it easy to write one yourself.
list_to_term(String) ->
{ok, T, _} = erl_scan:string(String++"."),
case erl_parse:parse_term(T) of
{ok, Term} ->
Term;
{error, Error} ->
Error
end.
|

Digg It
Del.icio.us
Reddit
Facebook
Stumble Upon
Technorati

