[postmodern-devel] NIL interpreted as Boolean

Patrick May patrick.may at mac.com
Thu May 6 18:43:33 UTC 2010


On May 6, 2010, at 1:47 PM, Ivan Boldyrev wrote:
> On Fri, May 7, 2010 at 12:34 AM, Patrick May <patrick.may at mac.com> wrote:
>>        I tried :initform :null as well, but it gave the error:
>> 
>> The value :NULL, derived from the initform :NULL, can not be used to set the value of the slot CALL-TIME in #<CALL-REQUEST #x30004266853D>, because it is not of type (OR
>>                                                                                                                                                                                                                     NULL
>>                                                                                                                                                                                                                     SIMPLE-DATE:TIMESTAMP).
> 
> Change type of the field to
> (or (eql :null) simple-date:timestamp)

	Perfect, thanks!

Regards,

Patrick

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2421 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/postmodern-devel/attachments/20100506/8b32a3cb/attachment.bin>


More information about the postmodern-devel mailing list