mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Fixes and improvements to the Logtalk tutorial (#2651)
This commit is contained in:
parent
870e2fbf6d
commit
dbecb473ce
@ -106,7 +106,7 @@ Error = error(
|
|||||||
yes
|
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
|
# Defining and implementing a protocol
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user