This website works better with JavaScript
Home
Explore
Help
Sign In
CNI
/
Prlog
Watch
2
Star
0
Fork
0
Files
Issues
0
Pull Requests
0
Wiki
Browse Source
Improve declaration of multiples
DricomDragon
5 years ago
parent
f06411a666
commit
e941b3cdc6
1 changed files
with
1 additions
and
1 deletions
Split View
Show Diff Stats
1
1
tp/1/multi.lp
+ 1
- 1
tp/1/multi.lp
View File
@@ -1,2 +1,2 @@
% Define
-p(
1,2; 2,4; 4,8; 8,16)
.
+p(
M2, M4) :- M1 = 1..4, M2 = 2 * M1, M4 = 4 * M1
.