All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ima.0.8.1.source-code.builtins.pl Maven / Gradle / Ivy

Go to download

Library of code developed from 'Artificial Intelligence a Modern Approach', Prentice Hall.

There is a newer version: 0.8.3
Show newest version
/* Builts-ins for prolog. */
not(X) :- call(X),!,fail.
not(X).

\+(X) :- call(X),!,fail.
\+(X).

member(X, [X|_]).
member(X, [_|Tail]) :- member(X, Tail).

append([], List, List).
append([H|Tail1], List2, [H|Tail3]) :- append(Tail1, List2, Tail3).




© 2015 - 2025 Weber Informatics LLC | Privacy Policy