current_object(Object)
Enumerates, by backtracking, all currently defined objects. All objects are found, either static, dynamic or built-in.
current_object(?object_identifier)
type_error(object_identifier, Object)
| ?- current_object(list).