We cannot define Y := λf. (λx. f (xx)) (λx. f (xx)) because the bodies of definitions get evaluated, which obviously causes a runtime error. Of course, there is a work around this issue: instead of writing Y rec_func one can substitute manually the RHS of Y into the formula.
We cannot define
Y := λf. (λx. f (xx)) (λx. f (xx))
because the bodies of definitions get evaluated, which obviously causes a runtime error. Of course, there is a work around this issue: instead of writingY rec_func
one can substitute manually the RHS ofY
into the formula.