protocol
iso_3166_protocol
Protocol for ISO 3166 country and subdivision registry lookups.
Availability:
logtalk_load(iso_3166(loader))Author: Paulo Moura
Version: 1:0:0
Date: 2026-05-05
Compilation flags:
staticDependencies:
(none)
Remarks:
(none)
Inherited public predicates:
(none)
Public predicates
country/4
Enumerates ISO 3166-1 country entries as alpha-2, alpha-3, numeric, and English short name tuples.
Compilation flags:
staticTemplate:
country(Alpha2,Alpha3,Numeric,Name)Mode and number of proofs:
country(?atom,?atom,?integer,?atom) - zero_or_moresubdivision/4
Enumerates ISO 3166-2 subdivision entries as code, parent alpha-2 country code, name, and category tuples.
Compilation flags:
staticTemplate:
subdivision(Code,CountryAlpha2,Name,Category)Mode and number of proofs:
subdivision(?atom,?atom,?atom,?atom) - zero_or_moreProtected predicates
(none)
Private predicates
(none)
Operators
(none)