SWI-Prolog Did You Know Did you know? there's a simplex library Search Documentation:
Predicate atoms/1

Sorry, No manual entry for atoms/1