SWI-Prolog Did You Know Did you know? use mavis for type checking Search Documentation:
Predicate message/3

Sorry, No manual entry for message/3