Fork me on GitHub

That would be difficult to implement with the project in its current state due to the way the compiler currently generates code for memory variables. Could you capture the sequence as logic variable?

(m/rewrite [1 2 3]
  [& ?a]
  [[& ?a], [& ?a]])


I some cases, yes. In others, I think it would end up complicating the rewrite since I'd have to more with m/app and handling the sequence in with map or something


It's not a big deal - it just occurred to make while I was working through some code


OK. I can think on other examples if you want to share their basic shapes with me too.

👍 1

& can be used multiple times now and you can use m/and as in [& ?a & (m/and ?b [!x !y ...])]