SWI-Prolog Did You Know Did you know? You can hot-swap code Search Documentation:
PL_get_compound_name_arity()