Package convex.core.lang
Interface IFn<T extends ACell>
- Type Parameters:
T- Return type of function
- All Known Implementing Classes:
AClosure,ADataFn,AFn,CoreFn,CorePred,Fn,KeywordFn,MapFn,MultiFn,SeqFn,SetFn
public interface IFn<T extends ACell>
Interface for invokable objects with function interface.
"Any sufficiently advanced technology is indistinguishable from magic." -
Arthur C. Clarke
-
Method Summary
-
Method Details
-
invoke
Invoke this function in the given context.- Parameters:
context- Context in which the function is to be executedargs- Arguments to the function- Returns:
- Context containing result of function invocation, or an exceptional value
-