Clarified that the license is BSD 3-clause. Added SPDX identifiers
[parenscript.git] / extras / swank-parenscript.lisp
blob63215b859381568f85ef73fa525ff147091dc62c
1 ;; SPDX-License-Identifier: BSD-3-Clause
3 (in-package :parenscript)
5 (defun parenscript-function-p (symbol)
6 (and (or (gethash symbol *ps-macro-toplevel* )
7 (gethash symbol *ps-function-toplevel-cache*))
8 t))
9 #++
10 (pushnew 'parenscript-function-p swank::*external-valid-function-name-p-hooks*)
12 (defun parenscript-arglist (fname)
13 (acond
14 ((gethash fname *ps-macro-toplevel-lambda-list*)
15 (values it t))
16 ((gethash fname *ps-function-toplevel-cache*)
17 (values it t))))
18 #++
19 (pushnew 'parenscript-arglist swank::*external-arglist-hooks*)