blob: 92eb2b27cc8670de7075a53848cf85cfadb1d3d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
name = 'all_capitals/1'
slug = 'capital cities'
description = '''\
<p><code>all_capitals(List)</code>: <code>List</code> is a list of all capitals in the world.</p>
<pre>
?- all_capitals(List).
List = ['Tirana', 'Athina', 'Skopje', 'Beograd', …]
</pre>
<p>Useful facts are given as <code>country(Name, ID, Capital, CapitalProvince, Size, Population)</code>.</p>
'''
hint = {}
|