mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-18 21:29:18 +02:00
Added aliases for missing write functions
This commit is contained in:
parent
68036a0b6a
commit
58a06ee200
2 changed files with 5 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
The `(scheme read)` library provides procedures for reading Scheme objects.
|
||||
|
||||
- [`read`](#read)
|
||||
- `read-all`
|
||||
- [`read-all`](#read-all)
|
||||
|
||||
#read
|
||||
|
||||
|
|
|
@ -10,7 +10,8 @@
|
|||
(export
|
||||
display
|
||||
write
|
||||
)
|
||||
write-shared
|
||||
write-simple)
|
||||
(import (scheme base))
|
||||
(begin
|
||||
(define (display obj . port)
|
||||
|
@ -21,5 +22,7 @@
|
|||
(if (null? port)
|
||||
(Cyc-write obj (current-output-port))
|
||||
(Cyc-write obj (car port))))
|
||||
(define write-shared write)
|
||||
(define write-simple write)
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue