Closed kilianmh closed 7 months ago
There's a deeper issue here: this would mean it's no longer possible to use ->
to declare ftypes for setf functions.
One approach might be to dispatch on whether the first element of the list is a symbol in the :cl package; if so treat it as a function name that's a list; otherwise treat it as a list of function names.
Sure we can test whether its part of the cl
package. Alternatively, if setf
is the only special case, we could check if the first element is the setf
symbol.
I added now the check whether the first symbol is in the cl
package. Now setf
should work. Also there are more test-cases.
Anything else needs to change?
Merged, thanks!
->