partial evaluation of two-level typed lambda calculus