Partially-Static data as free extension of Algebras

9Citations
Citations of this article
8Readers
Mendeley users who have this article in their library.

Abstract

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.

Cite

CITATION STYLE

APA

Yallop, J., Glehn, T. V., & Kammar, O. (2018). Partially-Static data as free extension of Algebras. Proceedings of the ACM on Programming Languages, 2(ICFP). https://doi.org/10.1145/3236795

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free