original commit: 8ad0ac41a5d686877e0bd48df484e4f9df828e0a
This commit is contained in:
Matthew Flatt 2000-01-28 15:00:54 +00:00
parent a5fd6626d4
commit 3100091678

View File

@ -311,6 +311,11 @@
(raise-type-error 'symbol=? "symbol"
(if (symbol? x) y x)))
(eq? x y))
(define (char->string c)
(unless (char? c)
(raise-type-error 'char->string "character" c))
(string c))
(define cons? (lambda (x) (pair? x)))
(define empty? (lambda (x) (null? x)))