[m-dev.] What's the status of the print cmd in mdb?

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Oct 12 13:46:26 AEDT 2000


On 11-Oct-2000, Ralph Becket <rbeck at microsoft.com> wrote:
> Towards the end of August there was discussion of extensions to
> mdb's top-level print command, which seemed to come to a universally
> agreeable conclusion.  Did anyone get round to implementing it all?

Which extensions did you have in mind?

> For that matter, why does `print' sometimes show lists in [1, 2, 3]
> form and sometimes in .(1, .(2, .(3, [])))?  Most odd.

If the term is small enough, it just uses `io__write', which uses
list notation.  But if the term exceeds a certain size, it can't
use `io__write', since `io__write' doesn't have any depth limit;
instead it uses the term browser's print routine, which does have
a depth limit but which doesn't use list notation.

-- 
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.
--------------------------------------------------------------------------
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