From a_saptawijaya@yahoo.com Wed Jan  9 07:34:27 2002
Received: from web10408.mail.yahoo.com (web10408.mail.yahoo.com [216.136.130.110])
	by swi.psy.uva.nl (8.11.6/8.11.2) with SMTP id g096YQT07804
	for <prolog@swi.psy.uva.nl>; Wed, 9 Jan 2002 07:34:26 +0100 (MET)
Message-ID: <20020109063425.44680.qmail@web10408.mail.yahoo.com>
Received: from [141.30.221.48] by web10408.mail.yahoo.com via HTTP; Tue, 08 Jan 2002 22:34:25 PST
Date: Tue, 8 Jan 2002 22:34:25 -0800 (PST)
From: Ari Saptawijaya <a_saptawijaya@yahoo.com>
To: prolog@swi.psy.uva.nl
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: [SWIPL] Output display of list

Hi !

I'm new in this mailing list.
I have a question regarding the output display of
list.
Suppose I have a program like this :

insert([],X,[X]).
insert([X|L1],Y,[X|L2]) :- insert(L1,Y,L2).

When I run the program in SWI-Prolog system with the
query :

?-
insert([[a,b],[b,c],[c,d],[d,e],[e,f],[f,g],[g,h]],[h,i],Y).

I got the result displayed like this :

Y = [[a, b], [b, c], [c, d], [d, e], [e, f], [f, g],
[g, h], [h|...]]

My question is, how can I set the system so that it
can display the solution completely ?
(in this case, the last element should be displayed
[h,i] instead of [h|...]).

Sorry, if this is just a trivial question and perhaps
has been ever asked before.

Thank you.

cheers,
Ari

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

