EvalEnv

public protocol EvalEnv

An environment which an EvalFunc can use to store information needed during evaluation.

  • Makes a copy of this environment.

    Declaration

    Swift

    func copy() -> Self

    Return Value

    An identical copy of self such that subsequent modifications of the copy or self do no affect each other. If no corresponding EvalFunc modifies this environment or its copy, then this method can just return self.