Defining a FunctionWithEnv class for expressions that evaluate their
arguments, but also need to access the environment.