What is the significance of λ-calculus to the semantics of programming languages? Answer
If you perform a single β-reduction on (λx.λy.y x)(w z), what do you get?
If you perform a single β-reduction on expression (λx.λy.x x y) (λz.z z), what do you get?
For this problem, the following λ-calculus functions are assumed to be predefined, where x and y are Church-numerals and true and false are the standard boolean values.
Suppose that function k is defined in λ-calculus by k = λf.λx.cond (isZero(x)) (
If function g is defined by g = fix k, then which of the following is true of g? ) (times ( ) (f (pred x))).A combinator is a term of λ-calculus that has no free variables. Which of the following are combinators?