Abstract
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.
Original language | English |
---|---|
Pages (from-to) | 177-207 |
Number of pages | 31 |
Journal | Fundamenta Informaticae |
Volume | 102 |
Issue number | 2 |
Early online date | 24 Sept 2010 |
DOIs | |
Publication status | Published - 2010 |
Keywords
- core calculus
- lambda calculus
- Haskell