You can implement this in Lisp. The dispatch will be at runtime, not compile time. I don&#x27;t think CLOS supports this use case, but the rest of Lisp certainly does. The issue will be speed, as I mentioned before.