[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scheme-reports] parameterize missing parentheses



Here is a clarifying example:

(define foo (make-parameter #f))
(define (bar) foo)
(parameterize (((bar) #t)) (foo)) => #t
(foo) => #f

All the examples I have (ever?) seen, simply use an identifier.

Cheers

leppie

PS: You are correct that it does need an extra set of parenthesis.

-- 
http://codeplex.com/IronScheme
http://xacc.wordpress.com

_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports