Testing for a type specifier
How can I check that something is a valid type specifier ?Namely, I want to extend typep use and I need to know if
the second argument is a type specifier or not.
I notice that sbcl has a sb-ext:valid-type-specifier-p.
Does LW has something like that (even undocumented) ?
Or is there a specific trick to do that ?
I can use typep and put a handler-case on illegal-type-specifier
but is there any performance penalty in doing so ?
Thanks for your advice,
--
Fabrice