This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: proposed changes to handling of false and end-of-list
- From: Per Bothner <per at bothner dot com>
- To: kawa at sourceware dot org
- Date: Fri, 20 Feb 2015 20:04:36 -0800
- Subject: Re: proposed changes to handling of false and end-of-list
- Authentication-results: sourceware.org; auth=none
- References: <51CE82FC dot 9090209 at bothner dot com>
I checked in the following change (proposed and discussed June-July 2013):
* Java null (#!null in Scheme syntax) would be considered false
(rather than true). I.e. in an expression (if c e1 e2) if c
evaluates to Java null *or* a java.lang.Boolean such that
c.booleanValue()==false, then e2 is evaluated; otherwise e1 is evaluated.
Let now know if you run into problems or anomalies.
--
--Per Bothner
per@bothner.com http://per.bothner.com/