eb05d95935
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1162 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
26 lines
777 B
Plaintext
26 lines
777 B
Plaintext
=================================================================
|
|
Logtalk - Object oriented extension to Prolog
|
|
Release 2.21.2
|
|
|
|
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
|
=================================================================
|
|
|
|
|
|
To load all entities in this example compile and load the loader file:
|
|
|
|
| ?- logtalk_load(loader).
|
|
|
|
This folder contains examples of the used of operators inside objects
|
|
and categories:
|
|
|
|
double.lgt
|
|
Simple object containing clauses using an infix operator.
|
|
|
|
triple.lgt
|
|
Simple object reading from a file (triple.txt), and asserting into
|
|
self, clauses that use an infix operator.
|
|
|
|
reverse.lgt
|
|
Simple object reading from a file (next.txt), and writing to
|
|
another file (previous.txt), clauses that use infix operators.
|