On Tue 17 Jan 2012 00:11, Tobias Brandt <tob.bra...@googlemail.com> writes:
> I want to define a macro `with-vectors` that transforms this: > > (with-vectors (v) > (v 0) > (set! (v 0) 'foo) > (some-procedure v)) We currently don't have good support in the expander for variable transformers that take arguments. You can use a procedure-with-setter, perhaps. Another option would be to alias specific elements of your vector to identifiers: http://thread.gmane.org/gmane.lisp.guile.user/8724/focus=9100 Andy -- http://wingolog.org/