I think Eric Jain wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Given a class with a constructor
>
> public Test(Object value) { ... }
>
> and the following code in Jess
>
> (new Test FALSE)
>
> it seems that the value field now contains a String object. Would it not
> make more sense if Jess created a Boolean object in this case?
nil, TRUE, and FALSE in Jess are symbols, which are just
strings. Indeed, what you say -would- make good sense, but would
require some special case code. Considering your last message about
eliminating extra tests from the pattern network (which are -never- a
bottleneck!) I'd think you'd be concerned about adding more special
cases!
Anyway, I'll see what I can do.
---------------------------------------------------------
Ernest Friedman-Hill
Distributed Systems Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550 http://herzberg.ca.sandia.gov
--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------