SWI-Prolog Did You Know Did you know? don't use format/2 to print errors Search Documentation:
Predicate max_member/3