Re: [Scheme-reports] parameterize missing parentheses Alan Watson (15 Mar 2012 06:04 UTC)
Re: [Scheme-reports] parameterize missing parentheses Alan Watson (15 Mar 2012 06:17 UTC)
Re: [Scheme-reports] parameterize missing parentheses leppie (15 Mar 2012 07:12 UTC)
Re: [Scheme-reports] parameterize missing parentheses John Cowan (15 Mar 2012 15:04 UTC)
Re: [Scheme-reports] parameterize missing parentheses John Cowan (15 Mar 2012 15:04 UTC)
Re: [Scheme-reports] parameterize missing parentheses Alan Watson (16 Mar 2012 03:31 UTC)
Re: parameterize missing parentheses Arthur A. Gleckler (18 Mar 2012 04:19 UTC)
Re: [Scheme-reports] parameterize missing parentheses Alan Watson (27 Mar 2012 06:01 UTC)
Re: [Scheme-reports] parameterize missing parentheses John Cowan (27 Mar 2012 14:01 UTC)

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