SWI-Prolog Did You Know Did you know? use mavis for type checking Search Documentation:
PL_version_info()