WG211/M18Yallop

From WG 2.11
Revision as of 17:13, 14 May 2018 by Eric (talk | contribs) (Created page with "'''Partially static data as free extension of algebras''' (joint work with Tamara von Glehn and Ohad Kammar) Partially-static data structures are a well-known technique for i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Partially static data as free extension of algebras (joint work with Tamara von Glehn and Ohad Kammar)

Partially-static data structures are a well-known technique for improving binding times. However, they are often defined in an ad-hoc manner, without a unifying framework to ensure full use of the equations associated with each operation. We present a foundational view of partially-static data structures as free extensions of algebras for suitable equational theories, i.e. the coproduct of an algebra and a free algebra in the category of algebras and their homomorphisms. By precalculating these free extensions, we construct a high-level library of partially static data representations for common algebraic structures. We demonstrate our library with common use-cases from the literature: string and list manipulation, linear algebra, and numerical simplification.