[m-dev.] mdev: how to inspect datastructures?

Nancy Mazur Nancy.Mazur at cs.kuleuven.ac.be
Thu Nov 23 23:55:43 AEDT 2000


> On 23-Nov-2000, Nancy Mazur <Nancy.Mazur at cs.kuleuven.ac.be> wrote:
> > Just a question, is there a way to inspect datastructures in 
> > a more intelligent way then really checking all the substructures
> > using ls and cd within the browser?
> 
> Well, you can set the browser parameters so that it displays
> more at one time (try `help set' in the browser).

That's what i did... but it gives you only the possibility
to read the whole structure manually... when the structure is
displayed on more than 10 screens, this is really lovely.. 

> But apart from that, no.

too bad.. 

> > PS: the typical thing I'd like to be able to do is to inspect
> > a given list, and try to find out its length. I would love to 
> > be able to invoke something like list__length(HeadVar__1, L). 
> > Or am I missing something, and is this possible already?
> 
> Unfortunately not.
> 
> It wouldn't be too hard to implement, though.
> We just need an option on the `query' command to make
> the variables in the current scope available in the query.

That would be quite nice... 

Nancy

--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list