package coffee.liz.lambda.bind; import coffee.liz.lambda.eval.Environment; import coffee.liz.lambda.eval.Value; import java.util.function.BiFunction; /** * Interface for external Java functions callable from lambda expressions. * *

* Implementations receive the current environment and an argument value, and * return a result value. */ public interface ExternalBinding extends BiFunction { /** * Returns the name used to reference this binding in environment. * * @return the binding name */ String getName(); }