From jan@swi.psy.uva.nl  Fri Nov 17 12:56:05 2000
Received: from gollem.swi.psy.uva.nl (gollem [145.18.152.30])
	by swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id MAA28078;
	Fri, 17 Nov 2000 12:56:05 +0100 (MET)
Received: from localhost (localhost [[UNIX: localhost]])
	by gollem.swi.psy.uva.nl (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id MAA20278;
	Fri, 17 Nov 2000 12:55:42 +0100
From: Jan Wielemaker <jan@swi.psy.uva.nl>
Organization: SWI, University of Amsterdam
To: "Darryl N. Davis" <D.N.Davis@dcs.hull.ac.uk>, prolog@swi.psy.uva.nl
Subject: Re: Display of Lists
Date: Fri, 17 Nov 2000 12:53:05 +0100
X-Mailer: KMail [version 1.0.28]
Content-Type: text/plain
References: <3.0.5.32.19990718141500.00797570@pop.xs4all.nl> <3A13BC08.5F11D2C6@dcs.hull.ac.uk>
In-Reply-To: <3A13BC08.5F11D2C6@dcs.hull.ac.uk>
MIME-Version: 1.0
Message-Id: <00111712554201.20194@gollem>
Content-Transfer-Encoding: 8bit

On Thu, 16 Nov 2000, Darryl N. Davis wrote:
>hi
>    in moving from SWI-Prolog v3.3.4 to v3.4.x
>    The display of variables unified to lists has changed.
>
>    Where as in 3.3.4
>        ?- A = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11].
>    would result in:
>            A = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11].
>
>    in 3.4.0, the following behaviour is seen
>     ?- A = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11].
>        A = [1, 2, 3, 4, 5, 6, 7, 8, 9|...]
>    Yes
>
>    Is there an environmental variable that I can change to get the interpreter
>        to disply the full list displays when variables are unified to lists?

See current_prolog_flag/2, option toplevel_print_options.  Default
setting is:

?- current_prolog_flag(toplevel_print_options, Y).

Y = [quoted(true), portray(true), max_depth(10)]

Note that by typing `w' to the toplevel or debugger, it will switch to
using plain quoted write for emitting bindings.  Typing 'p' reverts to
the default behaviour.

	Regards --- Jan

