On 02/08/2012 07:34 PM, Ignas Vyšniauskas wrote: >> or even >> list_to_binary(atom_to_list(forty_two)) >> > > Check out atom_to_binary/2. Right, missed that one. -- Loïc Hoguin Erlang Cowboy Nine Nines