I’m creating a new verb
combine like so:
(grammar [combine/c [object] and [object]] for [combine $ $])
I don’t care what order they are combined in so I’d like my rule to match regardless of the order. I could define every combination like so:
(perform [combine #item1 #item2]) (try [combine #item2 #item1] (perform [combine #item2 #item1]) Good job.
but I was hoping there was a more elegant generic solution, as I’ll be doing a lot of these, and there’s a possibility that I might do this with three or more items in which case defining them all will be very unwieldy.