A tutorial implementation of a dependently typed lambda calculus

Andres Löh, Conor Mcbride, Wouter Swierstra

Research output: Contribution to journalArticle

11 Citations (Scopus)

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 languageEnglish
Pages (from-to)177-207
Number of pages31
JournalFundamenta Informaticae
Volume102
Issue number2
Early online date24 Sep 2010
DOIs
Publication statusPublished - 2010

    Fingerprint

Keywords

  • core calculus
  • lambda calculus
  • Haskell

Cite this