public Env SetCurrentFunction(FunctionType type) { Scope top = this._scopes.Peek(); return new Env(this._scopes.Pop().Push(top.SetCurrentFunction(type))); }