Paradigm | Functional |
---|---|
Designed by |
Conor McBride and James McKinna |
Developer | Unmaintained |
First appeared | 2004 |
Stable release |
1 / October 11, 2006
|
Typing discipline | strong, static, dependent |
OS | Cross-platform: Linux, Windows, Mac OS X |
License | MIT |
Influenced by | |
ALF | |
Influenced | |
Agda, Idris |
Epigram is a functional programming language with dependent types. Epigram also refers to the IDE usually packaged with the language. Epigram's type system is strong enough to express program specifications. The goal is to support a smooth transition from ordinary programming to integrated programs and proofs whose correctness can be checked and certified by the compiler. Epigram exploits the propositions as types principle, and is based on intuitionistic type theory.
The Epigram prototype was implemented by Conor McBride based on joint work with James McKinna. Its development is continued by the Epigram group in Nottingham, Durham, St Andrews and Royal Holloway in the UK. The current experimental implementation of the Epigram system is freely available together with a user manual, a tutorial and some background material. The system has been used under Linux, Windows and Mac OS X.
It is currently unmaintained, and version 2, which was intended to implement Observational Type Theory, was never officially released, however there exists a GitHub mirror, last updated in 2012.
Epigram uses a two-dimensional, natural deduction style syntax, with a LaTeX version and an ASCII version. Here are some examples from The Epigram Tutorial:
The following declaration defines the natural numbers: