ICFP 2023 (series) / OCaml 2023 (series) / OCaml Users and Developers Workshop 2023 /
Safe and efficient generic functions with MacoCaml
We apply MacoCaml, an extension of OCaml with support for compile-time user-specified code generation, to the generic function problem. MacoCaml’s combination of macros with phase separation and code quotations neatly addresses what is a recurring challenge for OCaml developers: how to write safe and efficient functions over type representations?
Our solution to the challenge also illustrates some recently-established formal guarantees offered by MacoCaml, including soundness and phase distinction.
(icfp23-ocaml-paper23.pdf) | 162KiB |
Sat 9 SepDisplayed time zone: Pacific Time (US & Canada) change
Sat 9 Sep
Displayed time zone: Pacific Time (US & Canada) change
11:00 - 12:30 | |||
11:00 22mTalk | Efficient OCaml compilation with Flambda 2 OCaml File Attached | ||
11:22 22mTalk | Less Power for More Learning: Restricting OCaml Features for Effective TeachingRemote OCaml Max Lang Technische Universität München, Nico Petzendorfer Department of Computer Science, Technische Universität München, Garching, Germany File Attached | ||
11:45 22mTalk | Osiris: an Iris-based program logic for OCamlRemote OCaml File Attached | ||
12:07 22mTalk | Safe and efficient generic functions with MacoCaml OCaml Dmitrij Szamozvancev University of Cambridge, Leo White Jane Street, Ningning Xie University of Toronto, Jeremy Yallop University of Cambridge File Attached |