This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GSOC | Extending Common Lisp support


On 11 June 2012 19:25, Jamison Hope <jrh@theptrgroup.com> wrote:
> Oh, but you know what would be spiffy? Making "null as false" a compile
> option:
>
> (with-compile-options null-as-false: #t
> Â(let ((o (some-java-object:get))) ;; returns null by default
> Â Â(if o ...)))

I would prefer a proclamation-like form such as

(proclaim '(null-as-false #t))

(which could just be reused from CL) rather than wrapping stuff up in
with-compile-options (not so Schemely, but hey).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]