- (write-edits ls lcs #!optional (index 1) (writer write-line-diffs) (out (current-output-port)))procedure
Utility to format the result of a diff with respect to a single input sequence ls. lcs is the annotated common sequence from diff or lcs-with-positions, and index is the index (0 or 1, default 1) of ls in the original call. Since we have no information about the other input, we can only format what is the same and what is different,formatting the differences as either added (if index is 0) or removed (if index is 1).