[postmodern-devel] NIL interpreted as Boolean

Daniel White daniel at whitehouse.id.au
Thu May 6 18:28:13 UTC 2010


On Fri, May 7, 2010 at 3:34 AM, Patrick May <patrick.may at 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.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:
>
> 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




More information about the postmodern-devel mailing list