phanthero
2020-11-12 03:03:53

Does the for form not allow things like: (for/list ([a 5] [b (add1 a)])) ?


phanthero
2020-11-12 03:04:14

Seems like I’m getting unbound identifier on a


sorawee
2020-11-12 04:36:50

What do you want to do? By default, clauses are parallel, so it makes sense that a is unbound.


sorawee
2020-11-12 04:37:02

If you want them to nest, use for*/list


sorawee
2020-11-12 04:37:23

With that variant, a is bound in the second clause.