| Writes a term to a string.
writeq_atom(+Term, ?Atom)
writeq_atom/2 writes a single atom (Term) to a string, converts the string to an atom and unifies it with Atom.
writeq_atom/2 quotes atoms and functor names.
Arguments
Term term
Atom atom
Examples
writeq_atom(hello('World'), T).
->
T = 'hello(\'World\')'
Standard
This predicate is not part of the ISO-Prolog Standard.
See also
parse_atom/2/3,
write_atom/2.
|