浏览代码

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.