mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-25 13:05: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
|
vector->string
|
||||||
string->vector
|
string->vector
|
||||||
make-parameter
|
make-parameter
|
||||||
|
current-output-port
|
||||||
|
;current-input-port
|
||||||
|
;current-error-port
|
||||||
error
|
error
|
||||||
raise
|
raise
|
||||||
raise-continuable
|
raise-continuable
|
||||||
|
@ -279,6 +282,8 @@
|
||||||
converter)
|
converter)
|
||||||
(else
|
(else
|
||||||
(error "bad parameter syntax"))))))
|
(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)
|
(define (error msg . args)
|
||||||
(raise (cons msg args)))
|
(raise (cons msg args)))
|
||||||
(define (raise obj)
|
(define (raise obj)
|
||||||
|
|
Loading…
Add table
Reference in a new issue