1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-05 22:37:42 +02:00

Fixes and improvements to the Logtalk tutorial (#2651)

This commit is contained in:
Paulo Moura
2017-02-11 16:48:10 +00:00
committed by ven
parent 870e2fbf6d
commit dbecb473ce

View File

@@ -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