Changeset 4414 for branches/f4grobner
- Timestamp:
- 2016-06-07T22:13:22-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/infix-printer.lisp
r4413 r4414 29 29 true-op 30 30 true-sep) 31 "Print a list LST using SEP as separator, to stream STREAM. Every argument 32 is printed usin OP as main operator. PRINT-LEVEL is used to control 33 printing nested expressions as expected: subexpressions at level exceeding 34 PRINT-LEVEL are printed as ellipsis. The argument ALT-OP, if not NIL, replaces 35 operator OP for list elements beyond the first one. Similarly, ALT-SEP replaces 36 SEP for list elements beyond the first one." 31 "Print a list LST using SEP as separator, to stream STREAM. Every 32 argument is printed usin OP as main operator. PRINT-LEVEL is used to 33 control printing nested expressions as expected: subexpressions at 34 level exceeding PRINT-LEVEL are printed as ellipsis. The argument BEG 35 indicates whether this is the start of a sequence of arguments with 36 the main operator OP. The argument ALT-OP, if not NIL, replaces 37 operator OP for list elements beyond the first one. Similarly, ALT-SEP 38 replaces SEP for list elements beyond the first one." 37 39 38 40 (cond … … 61 63 (endp (cddr arg)) 62 64 (eq alt-op (car arg))) 63 (setf arg (cadr arg) true-sep alt-sep) 65 (setf arg (cadr arg) 66 true-sep alt-sep) 64 67 ) 65 68
Note:
See TracChangeset
for help on using the changeset viewer.