Interface Function
- All Superinterfaces:
- Value
- All Known Implementing Classes:
- Closure, FunctionBase, IntComparison, IntOperation, PrimitiveFunction
public interface Function
- extends Value
The run-time representation of a function (that is, a
procedure). This is a Value that can be applied to another Value
(the function's argument), so as to compute yet another Value (the
function's result).
Method Summary |
Value |
apply(Value argument)
Apply this function to a specified argument Value. |
Methods inherited from interface Value |
as |
apply
Value apply(Value argument)
- Apply this function to a specified argument Value.
- Parameters:
argument
- the argument Value
- Returns:
- the result Value from the function application.