summaryrefslogtreecommitdiff
path: root/stdlib.pl
diff options
context:
space:
mode:
authorPeter Mikkelsen <peter@pmikkelsen.com>2021-06-30 23:30:13 +0000
committerPeter Mikkelsen <peter@pmikkelsen.com>2021-06-30 23:30:13 +0000
commit85adea62d7e8eee9d0e3525d572325db4e58d21a (patch)
treee976789abf464f9868f9a12778285329db785d7a /stdlib.pl
parentfa83d3f1aba932e99833244ebb38b7415b142bd7 (diff)
Allow the repl to backtrack to give alternative results
Diffstat (limited to 'stdlib.pl')
-rw-r--r--stdlib.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/stdlib.pl b/stdlib.pl
index b0f2160..ecf7417 100644
--- a/stdlib.pl
+++ b/stdlib.pl
@@ -16,10 +16,13 @@ If -> Then :-
If -> Then ; _ :-
If, !, Then.
+
_ -> _ ; Else :-
!, Else.
+
If ; _ :-
If.
+
_ ; Else :-
Else.