Logtalk 2.17.2 files.

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1076 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
pmoura
2004-06-13 18:04:28 +00:00
parent 9543ecf436
commit d029e6c3fc
170 changed files with 2022 additions and 772 deletions

View File

@@ -1,10 +1,11 @@
=================================================================
Logtalk - Object oriented extension to Prolog
Release 2.17.1
Release 2.17.2
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
=================================================================
To load all objects in this example consult the ph.loader utility
file (note that the *.loader files are Prolog files).
To load all entities in this example compile and load the loader file:
| ?- logtalk_load(loader).

View File

@@ -1,11 +1,20 @@
=================================================================
Logtalk - Object oriented extension to Prolog
Release 2.17.1
Release 2.17.2
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
=================================================================
% start by loading the example:
| ?- logtalk_load(loader).
...
% try some simple queries:
| ?- square::nsides(N).
N = 4

View File

@@ -0,0 +1,9 @@
:- initialization(
logtalk_load([
shape,
polygon,
regular_polygon,
square,
q1,
q2])).