[comp.lang.prolog] difference lists

gerda@kulcs.UUCP (Gerda Janssens) (01/22/87)

In 'The Art of Prolog' of Sterling and Shapiro at page 254.

The program for flatten using enqueue and dequeue (Program 15.12)

?- flatten ([[a,b],c], _res) gives
	_res = [a,c,b] : the order is not preserved.