Business Objects
Quark Platform Documentation
Version 1.7.0_0
Business Objects

org.openquark.cal.runtime
Interface CalFunction


public interface CalFunction

A Java object of this type is produced by the CAL function: Prelude.makeCalFunction :: (JObject -> JObject) -> CalFunction;

CalFunction allows a Java client to initiate the evaluation of 'makeCalFunction f' for a particular argument value supplied by the Java client.

Author:
Bo Ilic

Method Summary
 Object evaluate(Object argument)
          If this CalFunction object was produced by calling 'makeCalFunction f', then calling evaluate(argument) results in CAL evaluating the expression 'f argument' and then returning the result.
 

Method Detail

evaluate

Object evaluate(Object argument)
If this CalFunction object was produced by calling 'makeCalFunction f', then calling evaluate(argument) results in CAL evaluating the expression 'f argument' and then returning the result.

Parameters:
argument - the argument to supply to f
Returns:
the result of evaluating 'f argument'

Business Objects
Quark Platform Documentation
Version 1.7.0_0
Business Objects

Copyright © 2007 Business Objects. All rights reserved.