Add the K combinator
josephcsible opened this issue · 5 comments
Issue type:
Only keep the issue types that are applicable.
- ➕ Feature request
We should add the K combinator from lambda calculus (K = λxy.x).
@josephcsible Small note: Make sure to add a clear description for this operator though, either in the tooltip or the book. Because most people probably won't be able to understand this with just the lambda form.
The second and third arguments to "if" have to be the same type, though. (Although this is something I've wanted to change.)