Skip to content

Commit

Permalink
Correct combinations of bit(X), color(Y) (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
brunokim authored Mar 16, 2022
1 parent 64f1312 commit f3ffb77
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/about-prolog.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ We may query for all combinations of bits and colors by querying for both `bit(X
X = 0, Y = green ;
X = 0, Y = blue ;
X = 1, Y = red ;
X = 1, Y = green .
X = 1, Y = green ;
X = 1, Y = blue .
```

Note that `bit(X), color(X)` can't be satisfied, because there's no `color(0)` or `bit(red)` that would satisfy both facts simultaneously:
Expand Down

0 comments on commit f3ffb77

Please sign in to comment.