close Warning: Can't synchronize with repository "(default)" (The repository directory has changed, you should resynchronize the repository with: trac-admin $ENV repository resync '(default)'). Look in the Trac log for more information.

Changeset 4008 for branches/f4grobner


Ignore:
Timestamp:
2016-05-31T10:52:13-07:00 (8 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/5am-infix-print.lisp

    r4007 r4008  
    6262  (is (equal (infix-print-to-string '(sin x)) "SIN(X)"))
    6363  ;; TODO: Eliminate an extra level of parenthesis in expression below. This
    64   ;; requires changing condition to parenthesize in INFIX-PRINT
     64  ;; requires changing condition to parenthesize in INFIX-PRINT. The deeper
     65  ;; complication is that the INFIX package defines the precedence of
     66  ;; operators, and it defines token operators. Thus, consistency
     67  ;; should be ensured so that the printed expression can be read back
     68  ;; observing the precedence defined in the INFIX package
    6569  (is (equal (infix-print-to-string '(* 3 (sin x))) "3*(SIN(X))"))
    6670  )
Note: See TracChangeset for help on using the changeset viewer.