mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Stub for current-output-port
This commit is contained in:
parent
a316d0abc5
commit
7905d9b181
1 changed files with 5 additions and 0 deletions
|
@ -51,6 +51,9 @@
|
|||
vector->string
|
||||
string->vector
|
||||
make-parameter
|
||||
current-output-port
|
||||
;current-input-port
|
||||
;current-error-port
|
||||
error
|
||||
raise
|
||||
raise-continuable
|
||||
|
@ -279,6 +282,8 @@
|
|||
converter)
|
||||
(else
|
||||
(error "bad parameter syntax"))))))
|
||||
(define (current-output-port)
|
||||
(make-parameter 'TODO-Cyc-stdout)) ;; TODO: need to expose stdout as a port obj
|
||||
(define (error msg . args)
|
||||
(raise (cons msg args)))
|
||||
(define (raise obj)
|
||||
|
|
Loading…
Add table
Reference in a new issue