Representing the case "no result"



On 6/8/09, Richard Fateman <fateman at cs.berkeley.edu> wrote:

> 1.  There is really no need for a gensym.  There could simply be an
> array of noobjects.
> E.g. NoObject[45], NoObject[46],  ....
> 2. What can be done with this?
> Well, we can also produce
> Diagnosis[45]:  "The integral  integrate(......) is divergent"
> Diagnosis[46]:  "Division by zero in function foo()"
> etc

I dunno. I'm pretty much opposed to creating still more global lists
for this purpose. There are already too many such lists in Maxima;
there is no way to know where to look for something, except by
reading the code and/or asking someone else. It's just as easy to
attach any context info to the reported object itself.

The context info need not be displayed by default. Maybe grind
should print it, since grind is supposed to print stuff readably.
Or maybe it should be attached as a property so it is accessible
through "get".

FWIW

Robert Dodier