mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-08 05:27:33 +02:00
Pass a value to (set!) a parameter object
Allow changing a parameter object by passing a value directly to it.
This commit is contained in:
parent
cec9e5c954
commit
def5bba06a
1 changed files with 3 additions and 1 deletions
|
@ -925,7 +925,9 @@
|
|||
((eq? (car args) '<param-convert>)
|
||||
converter)
|
||||
(else
|
||||
(error "bad parameter syntax" args))))))
|
||||
;(error "bad parameter syntax" args)
|
||||
(set! value (converter (car args)))
|
||||
)))))
|
||||
(define current-output-port
|
||||
(make-parameter (Cyc-stdout)))
|
||||
(define current-input-port
|
||||
|
|
Loading…
Add table
Reference in a new issue