[postmodern-devel] NIL interpreted as Boolean
Patrick May
patrick.may at mac.com
Thu May 6 18:30:35 UTC 2010
On May 6, 2010, at 1:34 PM, Patrick May 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:
>
> 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]
Removing the :type specifiers from the class definitions eliminates the problem. It would be nice if Postmodern allowed both :type and :col-type to be used, though.
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/c98e82db/attachment.bin>
More information about the postmodern-devel
mailing list