[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: Babel: asymptote: erroneous conversion of heterogeneous-typ
From: |
Nick Dokos |
Subject: |
Re: [O] Bug: Babel: asymptote: erroneous conversion of heterogeneous-typed table |
Date: |
Mon, 29 Aug 2011 15:11:58 -0400 |
Eric Schulte <address@hidden> wrote:
> András Major <address@hidden> writes:
>
> > Hi Eric,
> >
> >> Given that asymptote can not make use of heterogeneous tables, it seems
> >> that it would be easiest to simply silently converted any table
> >> containing a single string element to a table of all strings. I've just
> >> applied your previous patch (thanks for the patch!). If this proves
> >> confounding in the future we can always revisit the decision.
> >
> > I've been away since my last post and now you've already applied a patch
> > -- wow! Here's another thought though: change the behaviour of the :var
> > header argument such that you can specify a range of rows, columns, or
> > a rectangle just like in table references.
>
> This is already possible, see "Indexable variable values" [1].
>
> > I agree that wildly mixing cell types in a table should be a felony,
> > but "mixing" them the way I'd like to makes perfect sense. You would
> > then simply make more than one :var to specify multiple subtables,
> > each with its own type. I think this might be better than
> > brute-forcing everything to string just so that the asymptote program
> > has to parse the values back to numbers.
> >
> > What do you think?
> >
>
> I must admit by the time I got to this thread is was already many
> messages deep, and I haven't read the initial messages, so I don't know
> what your way of mixing was, but from my current understanding of
> asymptote the behavior implemented by Nick's patch seems to make the
^^^Nicolas Goaziou's patch^^^
Nick
> most sense, in that it allows tables of ints and floats, but when a
> single string is present it converts the table to all strings.
>
> Best -- Eric
>
> >
> > András
> >
> >
> >
>
>
> Footnotes:
> [1] http://orgmode.org/manual/var.html
>
> --
> Eric Schulte
> http://cs.unm.edu/~eschulte/
>
- Re: [O] Bug: Babel: asymptote: erroneous conversion o f heterogeneous-typed table, (continued)
- Re: [O] Bug: Babel: asymptote: erroneous conversion o f heterogeneous-typed table, András Major, 2011/08/29
- Re: [O] Bug: Babel: asymptote: erroneous conversion of heterogeneous-typed table, Nicolas Goaziou, 2011/08/29
- Re: [O] Bug: Babel: asymptote: erroneous conversion of heterogeneous-typed table, András Major, 2011/08/29
- Re: [O] Bug: Babel: asymptote: erroneous conversion of heterogeneous-typed table, Nicolas Goaziou, 2011/08/29
- Re: [O] Bug: Babel: asymptote: erroneous conversion of heterogeneous-typed table, Nicolas Goaziou, 2011/08/29
- Re: [O] Bug: Babel: asymptote: erroneous conversion of heterogeneous-typed table, Eric Schulte, 2011/08/29
- Re: [O] Bug: Babel: asymptote: erroneous conversion of heterogeneous-typed table, Nicolas Goaziou, 2011/08/29
- Re: [O] Bug: Babel: asymptote: erroneous conversion of heterogeneous-typed table, Eric Schulte, 2011/08/29
- Re: [O] Bug: Babel: asymptote: erroneous conversion of heterogeneous-typed table, András Major, 2011/08/29
- Re: [O] Bug: Babel: asymptote: erroneous conversion of heterogeneous-typed table, Eric Schulte, 2011/08/29
- Re: [O] Bug: Babel: asymptote: erroneous conversion of heterogeneous-typed table,
Nick Dokos <=
- Re: [O] Bug: Babel: asymptote: erroneous conversi on of heterogeneous-typed table, András Major, 2011/08/30
- Re: [O] Bug: Babel: asymptote: erroneous conversion of heterogeneous-typed table, Eric Schulte, 2011/08/30
- Re: [O] Bug: Babel: asymptote: erroneous conver sion of heterogeneous-typed table, András Major, 2011/08/30
- Re: [O] Bug: Babel: asymptote: erroneous conversion of heterogeneous-typed table, Eric Schulte, 2011/08/30
- Re: [O] Bug: Babel: asymptote: erroneous conv ersion of heterogeneous-typed table, András Major, 2011/08/31
- Re: [O] Bug: Babel: asymptote: erroneous conversion of heterogeneous-typed table, Nick Dokos, 2011/08/31
- Re: [O] Bug: Babel: asymptote: erroneous conversion of heterogeneous-typed table, Nicolas Goaziou, 2011/08/31
- Re: [O] Bug: Babel: asymptote: erroneous conversion of heterogeneous-typed table, Eric Schulte, 2011/08/31
Re: [O] Bug: Babel: asymptote: erroneous conversion of heterogeneous-typed table, Nick Dokos, 2011/08/29