aboutsummaryrefslogtreecommitdiffstats
path: root/obj2str.scm
diff options
context:
space:
mode:
Diffstat (limited to 'obj2str.scm')
-rw-r--r--obj2str.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/obj2str.scm b/obj2str.scm
index 19d8464..a8445f6 100644
--- a/obj2str.scm
+++ b/obj2str.scm
@@ -19,6 +19,7 @@
(require 'string-port)
+;;@body Returns the textual representation of @1 as a string.
(define (object->string obj)
(cond ((symbol? obj) (symbol->string obj))
((number? obj) (number->string obj))
@@ -43,6 +44,8 @@
; (object->limited-string obj limit) returns a string containing the first
; 'limit' characters of the textual representation of 'obj'.
+;;@body Returns the textual representation of @1 as a string of length
+;;at most @2.
(define (object->limited-string obj limit)
(require 'generic-write)
(let ((result '()) (left limit))