Open mathrick opened 2 years ago
Or pattern requires that its subpatterns all share the same set of variables. There was a mechanism that would wrap it up and insert the missing variable, but somehow it doesn't seems to be working.
I believe I also encountered this when trying to match a single &key
parameter:
(ematch elem
((or (list (or (list keyword name) name)
default
suppliedp)
(list (or (list keyword name) name)
default)
(list (list keyword name))
name)
...))
I'm hitting a weird error with the following pattern:
Any of the following work just fine: