Integrate lambda calculus into python
Make Functions:
lambda_not = "Lx.x false true"
lambda_not_function = Lambda(lambda_not).to_function()- Just as regular lambda calculus but instead of typing
λ, you typeL - Constants like
FALSEandTRUEare capitalized.
Examples:
λx.xturns intoLx.x
λx.x FALSE TRUEturns intoLx.x FALSE TRUE
Just out of pure boredom.