update_struct

From: Sebastian Brand <Sebastian.Brand_at_cwi.nl>
Date: Tue 07 Aug 2001 03:40:43 PM GMT
Message-ID: <20010807174043.B3630@cwi.nl>
Hi,

The following gives an error for both (uncommented) update_struct
calls:


	:- local struct( sub(d, e) ).
	:- local struct( a(b, c:sub) ).

	:-	X = a with [b:1, c:Xc],
		Xc = sub with [d:2, e:3],

	%	update_struct(a, [d:20], Y, Z).
	%	update_struct(a, [c:C], Y, W).



so: does update_struct only work with unnested structures?
It is not mentioned in the documentation...

Cheers,
Sebastian
Received on Tue Aug 07 16:40:45 2001

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:08:09 PM GMT GMT