aboutsummaryrefslogtreecommitdiffhomepage
path: root/std/Church.bruijn
diff options
context:
space:
mode:
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]]