aboutsummaryrefslogtreecommitdiffhomepage
path: root/std/Number/Conversion.bruijn
diff options
context:
space:
mode:
authorMarvin Borner2024-02-16 16:46:45 +0100
committerMarvin Borner2024-02-16 16:56:55 +0100
commitf3dc81930ebbc6727f9a796f71dceffbcb753752 (patch)
tree01dc563ac42b5d45091a4adc180e016078d38091 /std/Number/Conversion.bruijn
parenta852b3e28f7f080c1912e9a7c07cb85636bce89a (diff)
Added strong Rosenberg encoding for meta encoding
Originally got the idea from @sgoguen (YC) and was further inspired by @hbr from one of their blog posts[1]. The current encoding has some holes and bad performance, so I might switch to a different one in the future. The wiki and metaprogramming blog post have been updated accordingly. [1] https://hbr.github.io/Lambda-Calculus/computability/text.html
Diffstat (limited to 'std/Number/Conversion.bruijn')
-rw-r--r--std/Number/Conversion.bruijn1
1 files changed, 1 insertions, 0 deletions
diff --git a/std/Number/Conversion.bruijn b/std/Number/Conversion.bruijn
index ff08f89..c9a568f 100644
--- a/std/Number/Conversion.bruijn
+++ b/std/Number/Conversion.bruijn
@@ -1,3 +1,4 @@
+# MIT License, Copyright (c) 2024 Marvin Borner
# convert bases to other bases
:import std/Number/Unary U