r/functionalprogramming • u/kinow mod • Jun 25 '23
FP FP2: Fully in-Place Functional Programming (PDF)
https://www.microsoft.com/en-us/research/uploads/prod/2023/05/fbip.pdf
21
Upvotes
r/functionalprogramming • u/kinow mod • Jun 25 '23
View all comments
Show parent comment
1
u/kinow mod Jul 01 '23
I think the concept is similar, ensuring a value is linear and can be used fully-in-place. The approach of the paper describes mechanism to modify a language to support FIP without having a complete linear-system in place, quoting one of their paragraphs
From what I understood, if a programming language added the operators & semantics proposed in the paper, then that language would have FIP assuming the developer is able to annotate/mark a function as FIP and also do the pattern matching that "peeks" elements from the list.