MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: four argument form of infix

  • To: mathgroup at
  • Subject: [mg70055] Re: four argument form of infix
  • From: "Chris Chiasson" <chris at>
  • Date: Sun, 1 Oct 2006 04:10:14 -0400 (EDT)
  • References: <>

Tom Zeller from WRI Technical support says they have no examples of
using the (documented) four argument form of Infix. Since he took
twenty days, I assume he looked thoroughly. In that case, I turn  this
matter over to the knowledgeable MathGroup community.

I know at least a few of you are very good with formatting Box
structures. I'm sure you could appreciate the desire to change the
precedence of an operator to affect printing of parenthesis, which the
four argument form of Infix should allow.

Here are my test cases which do not work "properly" unless they are
used with OutputForm. The purpose of these cases is to make "sun" have
a higher precedence than Times, so that the output expression is
written without parenthesis. Out[5] is especially peculiar - it's
supposed to be StandardForm, but it looks like FullForm.


2 sun[earth,mars,venus]

2 (earthsunmarssunvenus)


2 earthsunmarssunvenus


2 sun2[earth,mars,venus]

2 Infix[{earth,mars,venus},sun,401,None]


2 earthsunmarssunvenus

On 9/10/06, Chris Chiasson <chris at> wrote:
> Could someone provide an example of the four argument form of Infix? I
> can't seem to make it work.
> --


  • Prev by Date: RE: subsets of a set
  • Next by Date: Re: importing html files
  • Previous by thread: Re: general
  • Next by thread: Re: How to make a progress bar?