I'd like to be able to create a nested for where the depth of nesting is determined dynamically.<br><br>For example, instead of<br><br>(for* ((a '(0 1)) (b '(0 1))) (printf "~v~v " a b)) <br><br>I could just say<br>
<br>(myfor (2 '(0 1)) <body with some means of extracting nested values>).<br><br>such that the above as (myfor (3 '(0 1)) <body with some means of extracting nested values>). would allow me to effect the result:<br>
<br>((for* ((a '(0 1)) (b '(0 1)) (c '(0 1))) (printf "~v~v~v " a b c))<br><br>Thanks!<br>Rob<br><br>