Lambda Calculus – Reductions #2 HackerRank Solution

In this post, we will solve Lambda Calculus – Reductions #2 HackerRank Solution. This problem (Lambda Calculus – Reductions #2) is a part of HackerRank Functional Programming series.

Task

Reduce the following to no more than one term. If the expression cannot be reduced, enter “CAN’T REDUCE”.

((λx.((λy.(x y))x))(λz.w))

Your answer should look like:

u

(This is not the actual answer, just a demonstration of how you should present it.)

Solutions – Lambda Calculus – Reductions #2 HackerRank Solution

w

Note: This problem (Lambda Calculus – Reductions #2) is generated by HackerRank but the solution is provided by CodingBroz. This tutorial is only for Educational and Learning purpose.

Leave a Comment

Your email address will not be published.