meander

Jimmy Miller 2021-10-17T00:47:40.131700Z

On mobile sadly. But you need an output. You have the input. A left-hand side pattern to match. But you don't define any output.

(m/rewrite "x" 
   (m/with [%x ?x] %x)
   ?x)

Richie 2021-10-17T21:36:49.133800Z

Yes, thank you. I was expecting to apply with to all of the patterns but I see that's not how it works. Thank you for the help.

Jimmy Miller 2021-10-17T00:48:39.132500Z

Maybe 'a was meant to be the output? If so it was inside the with instead of outside.

Richie 2021-10-17T21:37:07.134Z

Yea, I intended 'a to be the output. Thanks again!