Added aliases for missing write functions

This commit is contained in:
Justin Ethier 2016-09-27 18:01:40 -04:00
parent 68036a0b6a
commit 58a06ee200
2 changed files with 5 additions and 2 deletions

View file

@ -3,7 +3,7 @@
The `(scheme read)` library provides procedures for reading Scheme objects. The `(scheme read)` library provides procedures for reading Scheme objects.
- [`read`](#read) - [`read`](#read)
- `read-all` - [`read-all`](#read-all)
#read #read

View file

@ -10,7 +10,8 @@
(export (export
display display
write write
) write-shared
write-simple)
(import (scheme base)) (import (scheme base))
(begin (begin
(define (display obj . port) (define (display obj . port)
@ -21,5 +22,7 @@
(if (null? port) (if (null? port)
(Cyc-write obj (current-output-port)) (Cyc-write obj (current-output-port))
(Cyc-write obj (car port)))) (Cyc-write obj (car port))))
(define write-shared write)
(define write-simple write)
) )
) )