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