diff options
author | colin <colin@cicadas.surf> | 2023-11-30 18:57:27 -0800 |
---|---|---|
committer | colin <colin@cicadas.surf> | 2023-11-30 18:57:27 -0800 |
commit | 6313c32898f155c44fff350aa18358be58483fd9 (patch) | |
tree | 87e95f7688a99310fb7f15064c6d8c84c42164bf /terrafirma.lisp | |
parent | a7f9f52a100b8ba8ef87b93ce6e227f9238e2902 (diff) |
rearrange arguments in defvalidator
Diffstat (limited to 'terrafirma.lisp')
-rw-r--r-- | terrafirma.lisp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/terrafirma.lisp b/terrafirma.lisp index b5ef90c..e5a3ec5 100644 --- a/terrafirma.lisp +++ b/terrafirma.lisp @@ -48,7 +48,7 @@ (defvar *type*) (defvar *instance*) -(defmacro defvalidator ((var type &key name) &body body) +(defmacro defvalidator (type (var &key name) &body body) "Defines a validation function. If TYPE is a symbolic type identifier, then the defined function will have a name like VALID-<TYPE>-P. Otherwise a NAME must be provided. |