Availability:C-language interface function
ATOM_nil
is the same as PL_new_atom("[]")
and ATOM_dot
is the same as
PL_new_atom(".")
.
This is no long the case in SWI-Prolog versionĀ 7.
- atom_t ATOM_nil(ATOM_nil)
- tomic constant that represents the empty list. It is adviced to use PL_get_nil(), PL_put_nil() or PL_unify_nil() where applicable.
- atom_t ATOM_dot(ATOM_dot)
- tomic constant that represents the name of the list constructor. The
list constructor itself is created using
PL_new_functor(ATOM_dot,2)
. It is adviced to use PL_get_list(), PL_put_list() or PL_unify_list() where applicable.