by thedufer · 6y ago · 0 comments
(although in this case I just didn't find I = WK)
I should actually add a note about that, since a few people have pointed it out.
Ah, that makes a lot of sense. I mostly just thought my version was the obvious one - my first thought of how to do nothing was to duplicate something and then drop one of the dupes. I have very little grounding in lambda calculus, though, and generally find the other combinators harder to reason about.
WKx
=> Kxx
=> x
CKCx
=> KxC
=> x
After the first application they both end up in essentially the same state (the `C` in the second case is going to be discarded so it really doesn't matter what's there).