diff options
Diffstat (limited to 'std/Church.bruijn')
-rw-r--r-- | std/Church.bruijn | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/std/Church.bruijn b/std/Church.bruijn index 412938a..bba2784 100644 --- a/std/Church.bruijn +++ b/std/Church.bruijn @@ -1,7 +1,19 @@ # MIT License, Copyright (c) 2022 Marvin Borner zero [[0]] -succ [[[1 (2 1 0)]]] + +inc [[[1 (2 1 0)]]] + +++( inc + add [[[[3 1 (2 1 0)]]]] + +(+) add + mul [[[2 (1 0)]]] + +(*) mul + exp [[0 1]] + +(^) exp |