Skip to content
Snippets Groups Projects
Commit 8416a827 authored by David Sehnal's avatar David Sehnal
Browse files

Predicate fix

parent d24dab3b
No related branches found
No related tags found
No related merge requests found
...@@ -64,7 +64,7 @@ namespace Predicates { ...@@ -64,7 +64,7 @@ namespace Predicates {
export function or(...ps: Atom.Predicate[]): Atom.Predicate { export function or(...ps: Atom.Predicate[]): Atom.Predicate {
switch (ps.length) { switch (ps.length) {
case 0: return P.constant.true; case 0: return P.constant.false;
case 1: return ps[0]; case 1: return ps[0];
case 2: { case 2: {
const a = ps[0], b = ps[1]; const a = ps[0], b = ps[1];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment