I think E. Katsiri wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] > Dear all, > > I have one more question, this time concerning Jess's support for > functional language semantics. How much does Jess support functional > language semantics? (I noticed there is a lamda function in the function > list). Does Jess support map(), reduce() and fold()? Is there any example > code/ reference to any literature I could look into, please? >
Jess's support for functional programming is spotty. You've always been able to do an "eval", and so there are functions that accept a function name and do things with that -- for example, there's an "apply" that's basically "map." There's no "reduce" but it would be very easy to write the version that accepted a function name -- it's easy to extend the Jess language with functions (and functionals) written in Java. (lambda) is brand-new and not well integrated yet, but the plan is that in general, anything that now takes a function name will also accept a lambda expression. --------------------------------------------------------- Ernest Friedman-Hill Advanced Software 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] --------------------------------------------------------------------
