On Fri, May 7, 2010 at 3:34 AM, Patrick May <patrick....@mac.com> wrote:
> On May 6, 2010, at 1:27 PM, Ivan Boldyrev wrote:
>> On Fri, May 7, 2010 at 12:25 AM, Patrick May <patrick....@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:
>
> because it is not of type (OR NULL SIMPLE-DATE:TIMESTAMP).

There is your problem right there.  In your class declaration, you
probably should have:

> :type (or db-null simple-date:timestamp

Cheers,

-- 
Daniel White

_______________________________________________
postmodern-devel mailing list
postmodern-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/postmodern-devel

Reply via email to