Hello and sorry in advance if the answer if right under my nose. Is it possible
to match the argument as a type specifier instead of using the argument's type?
Something to do the equivalent of:
(let ((x '(simple-array fixnum (3))))
(cond
((subtypep x 'list) ...)
((subtypep x 'vector) ...)))
which I use in some personal sequence functions that take a result type
argument (like map).
Hello and sorry in advance if the answer if right under my nose. Is it possible to match the argument as a type specifier instead of using the argument's type?
Something to do the equivalent of:
which I use in some personal sequence functions that take a result type argument (like map).