A Tutorial Implementation of a Dependently Typed Lambda Calculus
Andres Löh, Conor Thomas McBride, Wouter Swierstra · Fundamenta Informaticae · 2010
We present the type rules for a dependently typed core calculus together with a straight-forward implementation in Haskell. We explicitly highlight the changes necessary to shift from a simply-typed lambda calculus to the dependently typed lambda calculus. We also describe how to extend our core language with data types and write several small example programs. The article is accompanied by an executable interpreter and example code that allows immediate experimentation with the system we describe.
Cited by 39 works. doi:10.3233/fi-2010-304
Authors
References
- Types and Programming Languages
- Intuitionistic type theory
- Interactive Theorem Proving and Program Development
- Interactive theorem proving and program development. Coq'Art: The Calculus of inductive constructions.
- Functional programming with bananas, lenses, envelopes and barbed wire
- Towards a practical programming language based on dependent type theory
- The view from the left
- An analysis of Girard's paradox
- Local type inference
- Type theory and functional programming