diff options
Diffstat (limited to 'logtalk.html.markdown')
| -rw-r--r-- | logtalk.html.markdown | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/logtalk.html.markdown b/logtalk.html.markdown index d4010f8b..5a52bd3c 100644 --- a/logtalk.html.markdown +++ b/logtalk.html.markdown @@ -106,7 +106,7 @@ Error = error(  yes  ``` -A subtle point is that predicate scope directives specify predicate _calling_ semantics, not _definitions_ semantics. For example, if an object playing the role of a class declares a predicate private, the predicate can be defined in subclasses and instances *but* can only be called in its instances _from_ the class. +A subtle point is that predicate scope directives specify predicate _calling_ semantics, not _definition_ semantics. For example, if an object playing the role of a class declares a predicate private, the predicate can be defined in subclasses and instances *but* can only be called in its instances _from_ the class.  # Defining and implementing a protocol @@ -182,7 +182,7 @@ A message is valid if the corresponding predicate is declared (and the sender is  ```logtalk  :- object(foo). -	:- public(bar). +	:- public(bar/0).  :- end_object.  ``` | 
