소스 검색

Shorten declarations of cities

DricomDragon 5 년 전
부모
커밋
b549cd04c7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tp/1/warm_city.lp

+ 1 - 1
tp/1/warm_city.lp

@@ -1,5 +1,5 @@
 % Generate
-t(rennes,4). t(nantes,5). t(marseille,8). t(paris,2).
+t(rennes, 4 ; nantes, 5 ; marseille, 8 ; paris, 2).
 
 % Test
 warm(V) :- t(V, T), T > 4.