Opposite of flatten

Nico Weling <>
Wed Sep 26 10:55:06 CEST 2001


Hi,

I need a function which creates tuples and lists from a string, something like the opposite of flatten:

1>   Msg = "{ms,{5,{send,filename}}".
"{ms,{5,{send,filename}}"
2> Pid ! opposite_of_flatten(Msg).

Thanks,

Nico.



More information about the erlang-questions mailing list