mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-20 14:19:17 +02:00
Added write-string
This commit is contained in:
parent
fb74fa9d14
commit
fa86dba6f0
1 changed files with 5 additions and 2 deletions
|
@ -96,6 +96,7 @@
|
|||
Cyc-remove-exception-handler
|
||||
newline
|
||||
write-char
|
||||
write-string
|
||||
flush-output-port
|
||||
read-line
|
||||
features
|
||||
|
@ -170,7 +171,6 @@
|
|||
; let-values
|
||||
; letrec*
|
||||
; letrec-syntax
|
||||
; list-set!
|
||||
; numerator
|
||||
; open-input-string
|
||||
; open-output-string
|
||||
|
@ -182,7 +182,6 @@
|
|||
; syntax-error
|
||||
; syntax-rules
|
||||
; textual-port?
|
||||
; write-string
|
||||
;;;;
|
||||
)
|
||||
(begin
|
||||
|
@ -512,6 +511,10 @@
|
|||
(if (null? port)
|
||||
(Cyc-flush-output-port (current-output-port))
|
||||
(Cyc-flush-output-port (car port))))
|
||||
(define (write-string str . port)
|
||||
(if (null? port)
|
||||
(Cyc-display str (current-output-port))
|
||||
(Cyc-display str (car port))))
|
||||
(define (write-char char . port)
|
||||
(if (null? port)
|
||||
(Cyc-write-char char (current-output-port))
|
||||
|
|
Loading…
Add table
Reference in a new issue