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(A)
- tomic constant that represents the empty list. It is advised to use PL_get_nil(), PL_put_nil() or PL_unify_nil() where applicable.
- atom_t ATOM_dot(A)
- 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 advised to use PL_get_list(), PL_put_list() or PL_unify_list() where applicable.