summaryrefslogtreecommitdiffstats
path: root/trnscrpt.scm
diff options
context:
space:
mode:
Diffstat (limited to 'trnscrpt.scm')
-rw-r--r--trnscrpt.scm18
1 files changed, 9 insertions, 9 deletions
diff --git a/trnscrpt.scm b/trnscrpt.scm
index 3f2c8a1..aaec7cb 100644
--- a/trnscrpt.scm
+++ b/trnscrpt.scm
@@ -8,7 +8,7 @@
;1. Any copy made of this software must include this copyright notice
;in full.
;
-;2. I have made no warrantee or representation that the operation of
+;2. I have made no warranty or representation that the operation of
;this software will be error-free, and I am under no obligation to
;provide any services, by way of maintenance, update, or otherwise.
;
@@ -18,15 +18,15 @@
;each case.
(define transcript:port #f)
-
+;@
(define (transcript-on filename)
(set! transcript:port (open-output-file filename)))
-
+;@
(define (transcript-off)
(if (output-port? transcript:port)
(close-output-port transcript:port))
(set! transcript:port #f))
-
+;@
(define read-char
(let ((read-char read-char) (write-char write-char))
(lambda opt
@@ -35,7 +35,7 @@
((output-port? transcript:port)
(write-char ans transcript:port)))
ans))))
-
+;@
(define read
(let ((read read) (write write) (newline newline))
(lambda opt
@@ -46,28 +46,28 @@
(if (eqv? #\newline (apply peek-char opt))
(newline transcript:port))))
ans))))
-
+;@
(define write-char
(let ((write-char write-char))
(lambda (obj . opt)
(apply write-char obj opt)
(if (output-port? transcript:port)
(write-char obj transcript:port)))))
-
+;@
(define write
(let ((write write))
(lambda (obj . opt)
(apply write obj opt)
(if (output-port? transcript:port)
(write obj transcript:port)))))
-
+;@
(define display
(let ((display display))
(lambda (obj . opt)
(apply display obj opt)
(if (output-port? transcript:port)
(display obj transcript:port)))))
-
+;@
(define newline
(let ((newline newline))
(lambda opt