Destide to Programmer [email protected]English • 1 day agoLearning Functional Programmingfeddit.ukimagemessage-square13fedilinkarrow-up1217arrow-down18
arrow-up1209arrow-down1imageLearning Functional Programmingfeddit.ukDestide to Programmer [email protected]English • 1 day agomessage-square13fedilink
minus-square@[email protected]linkfedilink44•1 day agoIn functional programming, everything is an expression (of frustration).
minus-square@[email protected]linkfedilink3•edit-25 hours agoY😄 = (λf.(λ🤬.f(🤬🤬))(λ🤬.f(🤬🤬)))😄 = (λ🤬.😄(🤬🤬))(λ🤬.😄(🤬🤬)) = 😄((λ🤬.😄(🤬🤬))(λ🤬.😄(🤬🤬))) = 😄(Y😄)
In functional programming, everything is an expression (of frustration).
Y=λf.(λ🤬.f(🤬🤬))(λ🤬.f(🤬🤬))
Y😄 = (λf.(λ🤬.f(🤬🤬))(λ🤬.f(🤬🤬)))😄 = (λ🤬.😄(🤬🤬))(λ🤬.😄(🤬🤬)) = 😄((λ🤬.😄(🤬🤬))(λ🤬.😄(🤬🤬))) = 😄(Y😄)