''' Analogous to erlang ones. "An atom is a literal, a constant with name." ''' from collections import namedtuple Atom = namedtuple('Atom', field_names='name') def a(name): '''Build an atom with a given name.''' return Atom(name)