Closed digikar99 closed 2 years ago
Essentially:
CL-USER> (cl-form-types:form-type '(the string (values "" 1.0)) nil) (VALUES (AND STRING (SIMPLE-ARRAY CHARACTER (0))) (AND NIL (EQL 1.0)))
The second values-type should be just (EQL 1.0) or (AND T (EQL 1.0) rather than (AND NIL (EQL 1.0)).
(EQL 1.0)
(AND T (EQL 1.0)
(AND NIL (EQL 1.0))
I see, I missed this part of the hyperspec: "It is permissible for form to yield a different number of values than are specified by value-type".
Fixed in d0c57a6.
Essentially:
The second values-type should be just
(EQL 1.0)
or(AND T (EQL 1.0)
rather than(AND NIL (EQL 1.0))
.