This website works better with JavaScript
Inicio
Explorar
Axuda
Iniciar sesión
CNI
/
Prlog
Seguir
2
Destacar
0
Fork
0
Ficheiros
Incidencias
0
Pull Requests
0
Wiki
Explorar o código
Improve declaration of multiples
DricomDragon
%!s(int64=5) %!d(string=hai) anos
pai
f06411a666
achega
e941b3cdc6
Modificáronse 1 ficheiros
con
1 adicións
e
1 borrados
Dividir vista
Mostrar estatísticas de Diff
1
1
tp/1/multi.lp
+ 1
- 1
tp/1/multi.lp
Ver ficheiro
@@ -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
.