Infix

Infix[f[e1,e2,]]
prints with given in default infix form: .

Infix[expr,h]
prints with arguments separated by h: .

DetailsDetails

  • Infix[expr,h,precedence,grouping] can be used to specify how the output form should be parenthesized.
  • Precedence levels are specified by integers. In OutputForm, some precedence levels are:
  • x.y.z
    x y z
    x+y+z
    x==y
    x=y
  • Possible grouping (associativity) specifications are:
  • NonAssociativenot associativealways parenthesized
    Nonealways associativenever parenthesized
    Leftleft associative (e.g., )
    Rightright associative (e.g., )
Introduced in 1988
(1.0)