Tue 25 Aug 2026 11:42 - 12:00 at IP126 Auditorium - Types, Testing, and Data Structures Chair(s): Steve Zdancewic

Using agda2hs and ad-hoc Haskell FFI bindings, writing Qt applications in C++ with Agda- or Haskell-based backends (possibly including correctness proofs) is already possible. However, there was no repeatable methodology to do so, nor to use arbitrary Haskell built-in libraries in Agda code.

We present a well-documented, general methodology to address this, applying the ideas of the Model-View-ViewModel architecture to models implemented in functional languages. This is augmented by a software development kit providing easy installation and automated compilation.

For obstacles arising, we provide solutions and ideas that are novel contributions by themselves. We describe and compare solutions for using arbitrary Haskell built-ins in Agda code, highlighting their advantages and disadvantages.

Also, for user interruption, we present a new Haskell future design. This, to the best of our knowledge, is the first to provide for arbitrary interruption and the first to provide for interruption via direct FFI calls from C and C++.

Finally, we prove with benchmarks that the agda2hs compiler at the base of our methodology is viable when compared to other solutions, specifically to the OCaml extraction feature of Rocq and the default MAlonzo backend of Agda.

Tue 25 Aug

Displayed time zone: Eastern Time (US & Canada) change

10:30 - 12:00
Types, Testing, and Data StructuresICFP Papers at IP126 Auditorium
Chair(s): Steve Zdancewic University of Pennsylvania
10:30
18m
Talk
Inlining as a space optimization: a simple time- and space-invariant implementation of the weak lambda-calculusDistinguished PaperRemote
ICFP Papers
Thibaut Balabonski LMF, CNRS, Université Paris-Saclay
DOI
10:48
18m
Talk
First-Class Constrained Types: Elaboration, Type Inference, Approximation, and a Characterization of TerminationDistinguished Paper
ICFP Papers
Chun Kit Lam The Hong Kong University of Science and Technology (HKUST), Florent Ferrari-Dominguez ENS de Lyon, Lionel Parreaux HKUST (The Hong Kong University of Science and Technology)
DOI
11:06
18m
Talk
Programmable Property-Based TestingDistinguished Paper
ICFP Papers
Alperen Keles University of Maryland at College Park, Justine Frank University of Maryland, College Park, Ceren Mert University of Maryland, College Park, Harrison Goldstein University at Buffalo, SUNY, Leonidas Lampropoulos University of Maryland at College Park
DOI
11:24
18m
Talk
A Catenable, Splittable, Transient Sequence Data StructureDistinguished Paper
ICFP Papers
DOI
11:42
18m
Talk
Adapting the MVVM pattern to C++ frontends and Agda-based backendsJFP First Paper
ICFP Papers
Viktor Csimma Eötvös Loránd University, Eötvös József Collegium (Budapest, Hungary)
Link to publication DOI Pre-print