partially instantiated data structures

Fergus Henderson fjh at cs.mu.OZ.AU
Mon Jun 8 21:50:53 AEST 1998


On 08-Jun-1998, jc at minster.cs.york.ac.uk <jc at minster.cs.york.ac.uk> wrote:
> (1) 
> According to the Modes node of the information documentation: 
> 
> Nevertheless, Mercury's mode system is sufficiently expressive to
> handle more complex data-flow patterns, including those involving
> partially instantiated data structures.  (The current implementation
> does not handle partially instantiated data structures yet.)
> 
> Are there any plans to allow partially instantiated data structures to
> be handled.

Yes.  Andrew Bromage has been working for quite some time on extending
the mode system with the sort of aliasing analysis that is needed to
support this kind of thing.  Unfortunately, however, it is not yet ready.

> If there is some reasonable way of handling them at
> present, then I've missed it.

No, you didn't miss anything -- there isn't any good work-around.
For the moment, you just have to use ground data structures.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.



More information about the users mailing list