#394 infix should return string, not internal op

closed
nobody
Lisp Core (471)
5
2006-07-10
2003-08-29
No

infix("X") returns the atom $X (which prints as "X").

The problem with that is that after X is defined as infix,
that atom is useless and in fact can't be input into
Maxima; "X" means the *string* X, not the *operator* X.

Maxima goes to great lengths to make sure that
operators can be referred to by their string name. For
example, part(1 x 2,0) returns the string &X ("X") even
though internally it is $X.

Infix("X") should thus be returning the *string* &X ("X").

Discussion

  • Raymond Toy

    Raymond Toy - 2005-04-12

    Logged In: YES
    user_id=28849

    Fixed. Also see bug 1173788.

     
  • Robert Dodier

    Robert Dodier - 2006-07-10
    • status: open --> closed
    • labels: --> Lisp Core
     
  • Robert Dodier

    Robert Dodier - 2006-07-10

    Logged In: YES
    user_id=501686

    In 5.9.3cvs, infix("X") => "X" (i.e. Lisp atom |&x|). Also
    comment by Ray says it is fixed. Closing this report as fixed.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks