TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

FP2: Fully In-Place Functional Programming [pdf]

206 点作者 chriscbr将近 2 年前

7 条评论

fweimer将近 2 年前
This research is related to the Koka programming language: <a href="https:&#x2F;&#x2F;koka-lang.github.io&#x2F;koka&#x2F;doc&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;koka-lang.github.io&#x2F;koka&#x2F;doc&#x2F;</a>
评论 #36475694 未加载
zellyn将近 2 年前
I was hoping it would reference roc-lang.org, which is actually doing in-place mutation for efficiency, but I didn’t see any mentions :-(
评论 #36472752 未加载
评论 #36478251 未加载
评论 #36472531 未加载
francasso将近 2 年前
This is also used in Lean 4, which as it turns out is not just great for math proofs, but is also becoming a great general purpose programming language
评论 #36487261 未加载
评论 #36476873 未加载
foota将近 2 年前
Interesting article, I wonder if FIP procedures could be useful even in non functional oriented languages as a safer means of reusing allocations (in languages that support reference counting or ownership?).
malf将近 2 年前
Noob question: the Top type here is exactly the Node constructor of the stree type. It seems useful to declare a type that is “this ADT, but limited to these constructors”, but even Haskell seems to avoid it. Why?
cryptonector将近 2 年前
I mean, `jq` does in-place mutations when the values being mutated have just one reference. With a lot of care one can really make that shine. `jq` has been doing this since day 1, years ago, though it&#x27;s had a few bugs in `reduce` that had to get fixed.
评论 #36515692 未加载
e-dant将近 2 年前
Looks like constant folding to me. What’s the difference exactly?
评论 #36475964 未加载