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:
@@ -1,16 +1,17 @@
|
||||
=================================================================
|
||||
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 library consult the miscellaneous.loader utility
|
||||
file (note that the *.loader files are Prolog files).
|
||||
|
||||
You will also need to load the library/types.loader file. Alternatively, you
|
||||
may load the library/all.loader file to load all library entities.
|
||||
To load all entities in this example compile and load the loader file:
|
||||
|
||||
| ?- logtalk_load(loader).
|
||||
|
||||
You will also need to load the library types_loader file. Alternatively, you
|
||||
may load the library all_loader file to load all library entities.
|
||||
|
||||
hanoi.lgt
|
||||
Towers of Hanoi example
|
||||
|
||||
@@ -1,11 +1,17 @@
|
||||
=================================================================
|
||||
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).
|
||||
...
|
||||
|
||||
|
||||
% towers of hanoi using three disks:
|
||||
|
||||
| ?- hanoi::run(3).
|
||||
|
||||
5
Logtalk/examples/miscellaneous/loader.lgt
Normal file
5
Logtalk/examples/miscellaneous/loader.lgt
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
:- initialization(
|
||||
logtalk_load([
|
||||
hanoi,
|
||||
queens])).
|
||||
Reference in New Issue
Block a user