(define (default-parameter-converter value) value)
(define (default-parameter-getter value) value)
-
-(define (default-parameter-setter set-param value)
- (set-param value))
+(define (default-parameter-setter set-param value) (set-param value))
(define (make-general-parameter initial-value converter getter setter)
(guarantee-procedure converter 'make-general-parameter)
(lambda ()
(set! bindings (set! temp (set! bindings)))
unspecific)))
- (shallow-fluid-bind swap! thunk swap!))))
\ No newline at end of file
+ (shallow-fluid-bind swap! thunk swap!))))
+
+(define (parameter-converter parameter)
+ (car (parameter-metadata parameter)))
\ No newline at end of file