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.

FP2: Fully In-Place Functional Programming [pdf]

206 pointsby chriscbralmost 2 years ago

7 comments

fweimeralmost 2 years ago
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 未加载
zellynalmost 2 years ago
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 未加载
francassoalmost 2 years ago
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 未加载
footaalmost 2 years ago
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?).
malfalmost 2 years ago
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?
cryptonectoralmost 2 years ago
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-dantalmost 2 years ago
Looks like constant folding to me. What’s the difference exactly?
评论 #36475964 未加载