75b2645e3f
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1580 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
77 lines
2.2 KiB
Plaintext
77 lines
2.2 KiB
Plaintext
=================================================================
|
|
Logtalk - Object oriented extension to Prolog
|
|
Release 2.27.1
|
|
|
|
Copyright (c) 1998-2006 Paulo Moura. All Rights Reserved.
|
|
=================================================================
|
|
|
|
|
|
This folder contains some useful objects, categories, and protocols.
|
|
|
|
To load a group of objects, protocols, and categories in this library
|
|
either change your Prolog working directory to this folder and then
|
|
compile and load the corresponding loader utility file or simply use
|
|
the notation library(<loader file>) as argument for the compiling and
|
|
loading predicates. For example:
|
|
|
|
| ?- logtalk_load(library(random_loader)).
|
|
|
|
Currently, there are eight groups of entities defined, each one with
|
|
a loader and a notes file:
|
|
|
|
dates
|
|
dates_loader.lgt
|
|
dates.notes
|
|
|
|
debugging
|
|
debugging_loader.lgt
|
|
debugging.notes
|
|
|
|
dependents
|
|
dependents_loader.lgt
|
|
dependents.notes
|
|
|
|
events
|
|
events_loader.lgt
|
|
events.notes
|
|
|
|
hierarchies
|
|
hierarchies_loader.lgt
|
|
hierarchies.notes
|
|
|
|
metapredicates
|
|
metapredicates_loader.lgt
|
|
metapredicates.notes
|
|
|
|
random
|
|
random_loader.lgt
|
|
random.notes
|
|
|
|
types
|
|
types_loader.lgt
|
|
types.notes
|
|
|
|
There is also a file named all_loader.lgt that will load all entities in the
|
|
groups listed above. Simply type the goal:
|
|
|
|
| ?- logtalk_load(library(all_loader)).
|
|
|
|
Specific notes about each group of objects, categories, and protocols can be
|
|
found in the corresponding *.notes files.
|
|
|
|
Some of the files contained in this directory represent work in progress and
|
|
are not loaded by default by any loader utility file.
|
|
|
|
Some of the code in this library is based on public domain Prolog code, in
|
|
particular, code adopted from the Edinburgh Prolog library. The definition
|
|
of predicate reverse/2 in object list is from Richard O'Keefe and can be found
|
|
in its book "The Craft of Prolog".
|
|
|
|
By default, compiling any group of entities described above generates a .xml
|
|
documenting file for each compiled entity (object, category, or protocol).
|
|
See the xml sub-directory for instructions on how to browse the .xml files
|
|
for on-line reading or how to convert the files to a print-ready format such
|
|
as PDF.
|
|
|
|
All source files are formatted using four-spaces tabs.
|