meander

noprompt 2021-11-22T19:05:59.071800Z

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]])

markaddleman 2021-11-22T19:31:16.073Z

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

markaddleman 2021-11-22T19:31:31.073200Z

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

noprompt 2021-11-22T19:48:14.073400Z

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

👍 1
noprompt 2021-11-22T19:07:20.072900Z

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