Re: [Scheme-reports] parameterize missing parentheses
leppie 15 Mar 2012 07:11 UTC
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@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports