Reference. Breadth-First Traversal via Staging

Cite

Cite as @gibbons-2022-breadth (helia, typst) · \cite{gibbons-2022-breadth} (LaTeX)
BibTeX
bibtex · 1 line
@inbook{gibbons-2022-breadth, title={Breadth-First Traversal via Staging}, ISBN={9783031169120}, ISSN={1611-3349}, url={http://dx.doi.org/10.1007/978-3-031-16912-0_1}, DOI={10.1007/978-3-031-16912-0_1}, booktitle={Mathematics of Program Construction}, publisher={Springer International Publishing}, author={Gibbons, Jeremy and Kidney, Donnacha Oisín and Schrijvers, Tom and Wu, Nicolas}, year={2022}, pages={1–33} }
hayagriva YAML (typst)
yaml · 19 lines
gibbons-2022-breadth:
  type: chapter
  title: Breadth-First Traversal via Staging
  author:
  - Gibbons, Jeremy
  - Kidney, Donnacha Oisín
  - Schrijvers, Tom
  - Wu, Nicolas
  date: 2022
  page-range: 1-33
  url: http://dx.doi.org/10.1007/978-3-031-16912-0_1
  serial-number:
    doi: 10.1007/978-3-031-16912-0_1
    isbn: '9783031169120'
    issn: 1611-3349
  parent:
    type: book
    title: Mathematics of Program Construction
    publisher: Springer International Publishing
Cited by (2)

Modular models of monoids with operations by lifting functors along fibrations yang-2026-modular

Inspired by Plotkin and Power’s algebraic treatment of computational effects and the principle of notions of computations as monoids, we propose a categorical framework for equational theories and models of monoids equipped with operations. This framework generalises Plotkin and Power’s algebraic treatment of effectful operations taking or returning values as input or output to operations that may take or return computations as input or output. Additionally, to give semantic models of computational effects in a modular way, we introduce a formal theory of modular constructions of algebraic structures based on the framework of lifting functors along fibrations.
PDF · DOI · pldb

Modular Models of Monoids with Operations yang-2023-modular

Inspired by algebraic effects and the principle of notions of computations as monoids, we study a categorical framework for equational theories and models of monoids equipped with operations. The framework covers not only algebraic operations but also scoped and variable-binding operations. Appealingly, in this framework both theories and models can be modularly composed. Technically, a general monoid-theory correspondence is shown, saying that the category of theories of algebraic operations is equivalent to the category of monoids. Moreover, more complex forms of operations can be coreflected into algebraic operations, in a way that preserves initial algebras. On models, we introduce modular models of a theory, which can interpret abstract syntax in the presence of other operations. We show constructions of modular models (i) from monoid transformers, (ii) from free algebras, (iii) by composition, and (iv) in symmetric monoidal categories.
PDF · DOI · pldb
Cites 19 works (1 here)
With notes (1)

The essence of the Iterator pattern gibbons-2009-the

The Iterator pattern gives a clean interface for element-by-element access to a collection, independent of the collection’s shape. Imperative iterations using the pattern have two simultaneous aspects: mapping and accumulating . Various existing functional models of iteration capture one or other of these aspects, but not both simultaneously. We argue that C. McBride and R. Paterson’s applicative functors (Applicative programming with effects, J. Funct. Program. , 18 (1): 1–13, 2008), and in particular the corresponding traverse operator, do exactly this, and therefore capture the essence of the Iterator pattern. Moreover, they do so in a way that nicely supports modular programming. We present some axioms for traversal, discuss modularity concerns and illustrate with a simple example, the wordcount problem.
PDF · DOI · pldb
gibbons-2022-breadth reference entries/refs/gibbons-2022-breadth/gibbons-2022-breadth.hel