Changeset 4412
- Timestamp:
- 2016-06-07T21:00:08-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/infix-printer.lisp
r4409 r4412 23 23 &optional (alt-op nil) (alt-sep alt-op) 24 24 &aux 25 (beg t) 26 (count 0) 27 true-sep) 25 (beg t) 26 (count 0) 27 true-op 28 true-sep) 28 29 "Print a list LST using SEP as separator, to stream STREAM. Every argument 29 30 is printed usin OP as main operator. PRINT-LEVEL is used to control … … 44 45 (dolist (arg lst) 45 46 ;;(format t "Processing arg: ~S~%" arg) 46 (setf true-sep sep) 47 (setf true-op op 48 true-sep sep) 49 47 50 (incf count) 48 51 49 52 ;; This is to handle unary minus and unary division. 50 53 ;; Thus: … … 69 72 (return-from infix-print-separated-list (values))) 70 73 71 (infix-print arg streamop print-level))))74 (infix-print-to-stream arg stream true-op print-level)))) 72 75 (values)) 73 76
Note:
See TracChangeset
for help on using the changeset viewer.