Add type checking
This commit is contained in:
parent
58e17823b8
commit
8613aac968
1 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
(defun load-form (lang form-file-name)
|
||||
"Load a Lisp file containing form definitions."
|
||||
(check-type lang string)
|
||||
(check-type form-file-name string)
|
||||
(let* ((relative-path (concatenate 'string "src/views/forms/" lang "/"))
|
||||
(full-path (uiop:merge-pathnames* relative-path (uiop:getcwd)))
|
||||
(form-path (uiop:merge-pathnames* form-file-name full-path)))
|
||||
|
|
Loading…
Add table
Reference in a new issue