Object << Goal
Calls a goal within the context of the specified object. Goal is called with the execution context (sender, this, and self) set to Object. Goal may need to be written within brackets to avoid parsing errors due to operator clashes. This control construct is mainly used for debugging and for writing object unit tests.
+object_identifier << +callable
instantiation_error
type_error(object_identifier, Goal)
type_error(callable, Goal)
existence_error(procedure, Goal)
existence_error(object, Object)
test(member) :- list << member(1, [1]).