Added emulation of the =@=/2 predicate to the SWI-Prolog compatibility library.

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1891 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
pmoura
2007-06-02 15:37:50 +00:00
parent 24ade76e94
commit 211e5cec2b
2 changed files with 13 additions and 1 deletions

View File

@@ -107,6 +107,13 @@ and change working directory to @var{New}. Use the pattern
@code{working_directory(CWD, CWD)} to get the current directory. See
also @code{absolute_file_name/2} and @code{chdir/1}.
@item @@@var{Term1} =@@= @@@var{Term2}
@findex =@@=/2
@snindex =@@=/2
@cnindex =@@=/2
True iff @var{Term1} and @var{Term2} are structurally equivalent. I.e. if @var{Term1} and @var{Term2} are variants of each other.
@end table
@node Invoking Predicates on all Members of a List,Forall, , SWI-Prolog