[postmodern-devel] NIL interpreted as Boolean

Patrick May patrick.may at mac.com
Thu May 6 17:34:49 UTC 2010


On May 6, 2010, at 1:27 PM, Ivan Boldyrev wrote:
> On Fri, May 7, 2010 at 12:25 AM, Patrick May <patrick.may at mac.com> wrote:
>>        How do I make Postmodern interpret nil as db-null rather than boolean?
> 
> Use :null, Luke.

	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). 
   [Condition of type CCL::BAD-SLOT-TYPE-FROM-INITFORM]

Thanks,

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/df0e3904/attachment.bin>


More information about the postmodern-devel mailing list