]> Repositorios git - scryer-prolog.git/commitdiff
move forall/2 to non_iso, correct test cases.
authorMark Thom <[email protected]>
Thu, 4 Apr 2019 00:13:05 +0000 (18:13 -0600)
committerMark Thom <[email protected]>
Thu, 4 Apr 2019 00:13:05 +0000 (18:13 -0600)
src/prolog/lib/non_iso.pl [new file with mode: 0644]

diff --git a/src/prolog/lib/non_iso.pl b/src/prolog/lib/non_iso.pl
new file mode 100644 (file)
index 0000000..b80d9fa
--- /dev/null
@@ -0,0 +1,10 @@
+%% for builtins that are not part of the ISO standard.
+%% must be loaded at the REPL with
+
+%% ?- use_module(library(non_iso)).
+
+:- module(non_iso, [forall/2]).
+
+forall(Generate, Test) :-
+    \+ (Generate, \+ Test).
+