This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: Compiling procedures questions
- From: Jim White <jim at pagesmiths dot com>
- To: "Crystal, Mayer" <mayer dot crystal at gs dot com>
- Cc: 'Per Bothner' <per at bothner dot com>, "'kawa at sources dot redhat dot com'" <kawa at sources dot redhat dot com>
- Date: Tue, 28 Sep 2004 12:42:27 -0700
- Subject: Re: Compiling procedures questions
- References: <7F7603A85B0C674D9834EC479BE4F884067712DC@gsnmp27es.ny.fw.gs.com>
Crystal, Mayer wrote:
Just for clarification, I've created a simple test which illustrates the
issue I am having. The following three classes have been defined:
...
public class KawaTest {
private static final String TEST_RULE = "(or proc1? (or proc2?
proc3?))";
...
When I run the main of KawaTest the output of the println statement is:
Procedure value = #<procedure proc1?>
That is because the result of your test is a procedure.
What I was trying to do though was to get the result as true or false.
That would be this:
TEST_RULE = "(or (proc1?) (or (proc2?) (proc3?)))";
Jim