how: Another library flatten function?

Bengt Kleberg bengt.kleberg@REDACTED
Fri Feb 26 14:58:32 CET 2010


Greetings,

I have the following list: ["asd",[["Flow","kalle"]],["Sub","F"]]
I would like to flatten it to: ["asd","Flow","kalle","Sub","F"]
lists:flatten/1 is too effective. It gives me: "asdFlowkalleSubF"

Is there another flatten somewhere?


bengt



More information about the erlang-questions mailing list