Bugs item #807493, was opened at 2003-09-16 23:31
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=379534&aid=807493&group_id=23735
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Chris Double (doublec)
Assigned to: Nobody/Anonymous (nobody)
Summary: Body of parameterize only allows 1 form.
Initial Comment:
The following gives an error:
(define *a* (make-parameter #f))
(define (test)
(parameterize ((*a* 5))
(display (*a*))
(newline)))
;;Error: invalid syntax (parameterize ((*a* 5))
(display *a*) (newline))
But it works if I use a begin form in parameterize:
(define (test)
(parameterize ((*a* 5))
(begin
(display (*a*))
(newline))))
The parameterize macro appears to not allow multiple
expressions in the body.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=379534&aid=807493&group_id=23735
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
|