def (foo) :case a :case b # second case is ignored
---
I think I wasn't clear about my meaning. Consider the following definition:
def (foo 'a b) ..
a) Selective-quoting: foo takes two args, the first isn't eval'd.
b) Pattern-matching: that definition of foo is dispatched to if the first arg is a.
So I wasn't sure which to use. Since I posted this I ended up using backquotes for pattern matching, so for case b) you'd end up saying:
def (foo `a b) ..
I agree with Pauan. This is reasonable. ^_^ Well, beware of corner cases like trying to match literal uses of the symbol 'unquote.
-----
Yes.
"Since I posted this I ended up using backquotes for pattern matching"
That sounds reasonable. It's what I would have done in the past.