diff options
Diffstat (limited to 'Lisp')
-rw-r--r-- | Lisp/type-conversion-policy.lisp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lisp/type-conversion-policy.lisp b/Lisp/type-conversion-policy.lisp index 43c3cf3..ec9d071 100644 --- a/Lisp/type-conversion-policy.lisp +++ b/Lisp/type-conversion-policy.lisp @@ -22,6 +22,10 @@ (coerce-object object (typespec-primary-type type))) +(defcoercion :void (x) + (values)) + + (defcoercion :int (x) (coerce-object x 'integer)) |