Concatenating atoms

Thomas Johnsson XA (LN/EAB) <>
Tue Feb 1 08:34:13 CET 2005


There appears to be no cheaper way to concatenate two atom than

   list_to_atom(atom_to_list(Atom1) ++ atom_to_list(Atom2))

... or have I missed something?
-- Thomas



More information about the erlang-questions mailing list