The present paper is concerned with list processing in Turbo Prolog language. It doesn't claim to be an exhaustive description of operations which can be performed upon lists. Nevertheless adduced programs are most representative, more or less known to specialists in logic programming domain. By means of examples are explained the list manipulation techniques, use of recursion, declarative comparison of predicates, analysis and fixation of acceptable prototypes and some problems of predicates' inconsistency. Index terms. Prolog, list, recursion.
Academy of Economic Studies, Moldova
59, Banulescu--Bodoni str., Kishinev,
– 0.10 Mb