SWI-Prolog Did You Know Did you know? don't use format/2 to print debug messages Search Documentation:
Singleton variable checking