On Fri, May 22, 2009 at 3:40 PM, John H Palmieri <[email protected]> wrote:
>
> In the notebook, view is partially broken: for viewing a single
> object,
>
>  view(ZZ[x])
>
> works just fine, producing a nicely typeset "Z[x]".  For viewing
> multiple objects, though,
>
>  view([ZZ[x], RR, CC])
>
> produces
>
>  [Univariate Polynomial Ring in x over Integer Ring, Real Field with
> 53 bits of precision, Complex Field with 53 bits of precision]
>
> typeset by jsMath in math mode, so there are no spaces between the
> words. Very ugly. I can fix this easily enough, but my question is,
> what should view([a,b,c, ...]) actually do?
>
> 1. Should it act like the command line implementation?  That is,
> should it typeset a, b, c, ... *each on its own line* with *no square
> brackets* at the start and end?
>
> 2. Or should it act like the code sort of does now?  That is, typeset
> a, b, c, ... all on the same line, enclosed in brackets?
>
> (It could do both with some sort of argument to toggle back and forth,
> I suppose, but what should the default behavior be?)

It seems like 2 is far more logical.  Imagine you make a list v =
[...], then later do

  view(v)

You would expect to get something that somehow looks like a list,
i.e., has brackets.
So my vote is for view to include brackets somehow.


William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to