TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Lambda Calculus Interpreter

18 pointsby evilotto11 months ago

5 comments

tromp11 months ago
Source code may be found at <a href="https:&#x2F;&#x2F;github.com&#x2F;ascandone&#x2F;elm-lambda-interpreter">https:&#x2F;&#x2F;github.com&#x2F;ascandone&#x2F;elm-lambda-interpreter</a>
asplake11 months ago
It seems to scroll forever. Does this example terminate? What would be an easier example to try?
评论 #40677902 未加载
James_K11 months ago
<p><pre><code> let Sub = λ a b f c.b (\ x.x True) (a (\ cc o.o cc (f (cc False))) (λ o.o c c)) False </code></pre> Subtraction is always fun.
评论 #40678448 未加载
evilotto11 months ago
See also <a href="https:&#x2F;&#x2F;tromp.github.io&#x2F;blog&#x2F;2023&#x2F;11&#x2F;24&#x2F;largest-number" rel="nofollow">https:&#x2F;&#x2F;tromp.github.io&#x2F;blog&#x2F;2023&#x2F;11&#x2F;24&#x2F;largest-number</a>
visarga11 months ago
so easy to read, missed a comma in line 503