{
  "id": 15940329,
  "title": "Flow Typing, A New Lens on Linearity",
  "url": "https://urgent.news/2026/10/21/flow-typing-a-new-lens-on-linearity",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-10-21T18:54:02.000Z",
  "source": {
    "name": "Lobsters",
    "slug": "lobsters",
    "url": "https://jaredforsyth.com/posts/papers-we-love-lens-on-linearity/"
  },
  "original_language": "en",
  "account": "Linear type systems enforce that each value is used exactly once, which can prevent common programming errors such as forgetting to close resources. Traditional solutions to the threading problem of using values multiple times often require adding extra language features, which can complicate the core language and its semantics. Flow typing is a new approach that utilizes lenses, a functional representation of mutable references, to address this issue without extending the core language. Lenses allow for controlled mutation of specific parts of a stateful typing context. By being purely functional, flow typing can be implemented within a standard linear lambda calculus, resulting in a straightforward and direct semantics.",
  "summary": null,
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}