Fork me on GitHub
Jimmy Miller00:10:40

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)


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 Miller00:10:39

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


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