mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-18 21:29:19 +02:00
Implement review comments
Add comment to procedure indent-string to indicate need for a reset for a second report. Correct import of (chibi optional).
This commit is contained in:
parent
e0497b3084
commit
e2c8619a21
2 changed files with 7 additions and 3 deletions
|
@ -497,6 +497,10 @@
|
|||
(test-first-indentation))))))
|
||||
(* (current-group-indent) (min level (test-max-indentation)))))
|
||||
|
||||
;; Terminate the current and indent the next line with the given number
|
||||
;; of spaces. The very first string does not terminate a line. There
|
||||
;; should be a way to reset first? when creating more than one report
|
||||
;; in a session.
|
||||
(define indent-string
|
||||
(let ((first? #t))
|
||||
(lambda (indent)
|
||||
|
|
|
@ -24,11 +24,11 @@
|
|||
(scheme process-context)
|
||||
(scheme time)
|
||||
(chibi diff)
|
||||
(chibi term ansi))
|
||||
(chibi term ansi)
|
||||
(chibi optional))
|
||||
(cond-expand
|
||||
(chibi
|
||||
(import (only (chibi) pair-source print-exception)
|
||||
(chibi optional)))
|
||||
(import (only (chibi) pair-source print-exception)))
|
||||
(chicken
|
||||
(import (only (chicken) print-error-message))
|
||||
(begin
|
||||
|
|
Loading…
Add table
Reference in a new issue