Skip to content
Book Open access

What Have We Learned about Dependently Typed Programming from Haskell? (Keynote)

Aug 2026 · Proceedings of the 19th ACM SIGPLAN International Haskell Symposium · 0 citations

TL;DR

The "rebound" library is used to demonstrate and reflect on the current capabilities of dependently-typed programming in Haskell, and supports working with well-scoped de Bruijn indices in abstract syntax trees.

Abstract

Dependent type theory is having a moment as the foundation for interactive provers, such as Lean, Rocq, and Agda. But what does dependent type theory offer to programmers, who just want to get work done? While Haskell is not a full spectrum dependently-typed language, its type system draws inspiration from its features, and provides a playground for experimentation. In this talk, I will use the "rebound" library to demonstrate and reflect on the current capabilities of dependently-typed programming in Haskell. This library supports working with well-scoped de Bruijn indices in abstract syntax trees. Because ASTs statically track their scope depths, type checking program transformations ensures that scopes are properly maintained, a source of subtle bugs in language implementation.

Read PDF

Similar papers

Open access Aug 2026

Set-Theoretic Types for Erlang in Practice (Experience Report)

Set-theoretic type connectives with their native support for union, intersection, and negation have the potential to capture the idioms of dynamically typed languages like Erlang. We investigate whether this theoretical expressiveness translates into practice: does the resulting type solver remain tractable on real-wor...

Albert Schimpf, Annette Bieniusa · 1 citation
Book Aug 2026

Tikka: An Interpreter and Debugger for a Pedagogical Subset of Haskell

Tikka is introduced, an interpreter for a carefully-selected subset of Haskell with concise, beginner-friendly error messages, evaluation tracing, and a bespoke IDE.

Alex Hobbs, Alex Dixon · 0 citations
Book Open access Aug 2026

On Eliminating the Impossible with Dependent Types: Choreographic Libraries with Proof-Carrying Located Values

This work uses the dependently typed Lean programming language to implement a similar choreographic library, ChorLean, which ensures total EPP and safe value access via proof-carrying located values, passing Lean's totality checker without undefined cases, while supporting the same feature set as libraries like MultiCh...

Simon Daniel, Timon Böhler, D. Richter et al. · 0 citations
Sep 2026

Revisiting Soundness for Occurrence Typing, Semantically

The core calculus of Typed Racket is revised, revising the core calculus of Typed Racket and giving asemantic type soundness proof using step-indexed logical relations, formalized in Lean, arguing that this approach is simpler than it may seem, and easily scales to handle the complexity of the occurrence typing in Type...

Yu-Quan Fu, C. Angiuli, Sam Tobin-Hochstadt · 1 citation
Sep 2026

Categorical Message Passing Language (CaMPL): Syntax and Semantics

This work introduces a novel functional-style concurrent programming language called Categorical Message Passing Language (CaMPL), designed using the mathematics of linear actegories, which gives CaMPL programs useful properties such as deadlock freedom and livelock freedom for programs without general recursive proces...

J. B. Cockett, D. Hashimoto, Alexanna Little Berg et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.