Logtalk 2.22.0 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1191 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.21.6
|
||||
Release 2.22.0
|
||||
|
||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
||||
|
||||
To load this example and for sample queries, please see the SCRIPT
|
||||
file.
|
||||
|
||||
This example illustrates some variants of the "diamond problem"
|
||||
(multi-inheritance conflicts and ambiguities) and its respective
|
||||
solutions on Logtalk.
|
||||
@@ -45,12 +48,3 @@ using prototype hierarchies:
|
||||
diamond3
|
||||
presents a solution which allows both inherited definitions to be
|
||||
used in D
|
||||
|
||||
To load all entities in this example compile and load the loader file:
|
||||
|
||||
| ?- logtalk_load(loader).
|
||||
|
||||
To load only a specific variant, compile and load the respective metafile.
|
||||
For example:
|
||||
|
||||
| ?- logtalk_load(diamond2).
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.21.6
|
||||
Release 2.22.0
|
||||
|
||||
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
@@ -8,7 +8,7 @@ Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||
|
||||
% start by loading the example:
|
||||
|
||||
| ?- logtalk_load(loader).
|
||||
| ?- logtalk_load(diamonds(loader)).
|
||||
...
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user