Spis treści

List linking

Description

Linking two lists.

Source: PROLOG str. 45 Wydawnictwo PLJ Warszawa 1991 ISBN 83-85190-63-5

Download

Program source code: list_linking.pl

Listing

polacz([], L, L).
polacz([X|L1], L2, [X|L3]) :- polacz(L1, L2, L3).

Comments