Created
October 3, 2014 06:51
-
-
Save sinkuu/96f312f057adae339189 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let _0 = \s z. z | |
let _1 = \s z. s z | |
let _2 = \s z. s (s z) | |
let _3 = \s z. s (s (s z)) | |
let _4 = \s z. s (s (s (s z))) | |
let succ = \n s z. s (n s z) | |
let plus = \m n s z. m s (n s z) | |
let mult = \m n s z. n (m s) z | |
let true = \x y. x | |
let false = \x y. y | |
let if = \p x y. p x y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment