aboutsummaryrefslogtreecommitdiffhomepage
path: root/std/Church.bruijn
diff options
context:
space:
mode:
authorMarvin Borner2022-07-18 01:44:38 +0200
committerMarvin Borner2022-07-18 01:44:38 +0200
commit745147f88f400cced478dd588a2dfd7a7c2140a8 (patch)
tree3c8e963275ef111b21315a662fd601286f4e123b /std/Church.bruijn
parent313e883f5e2146a2005ae0ed6a36af835cbbc961 (diff)
Moved/improved standard library
and other things
Diffstat (limited to 'std/Church.bruijn')
-rw-r--r--std/Church.bruijn7
1 files changed, 7 insertions, 0 deletions
diff --git a/std/Church.bruijn b/std/Church.bruijn
new file mode 100644
index 0000000..40807dd
--- /dev/null
+++ b/std/Church.bruijn
@@ -0,0 +1,7 @@
+# MIT License, Copyright (c) 2022 Marvin Borner
+
+church-zero [[0]]
+church-succ [[[1 (2 1 0)]]]
+church-add [[[[3 1 (2 1 0)]]]]
+church-mul [[[2 (1 0)]]]
+church-exp [[0 1]]