Availability:built-in
[ISO]atom_chars(?Atom,
?CharList)As atom_codes/2,
but CharList is a list of one-character atoms rather than a
list of character codes.99Up to
version 3.2.x, atom_chars/2
behaved as the current atom_codes/2.
The current definition is compliant with the ISO standard.
?- atom_chars(hello, X).
X = [h, e, l, l, o]