Epigram (programming language)
Epigram is a functional programming language with dependent types, and the integrated development environment (IDE) usually packaged with the language.[src] Epigram's type system is strong enough to express program specifications.[src] 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.[src] Epigram exploits the Curry–Howard correspondence, also termed the propositions as types principle, and is based on intuitionistic type theory.[src] The Epigram prototype was implemented by Conor McBride based on joint work with James McKinna.[src] Its development is continued by the Epigram group in Nottingham, Durham, St Andrews, and Royal Holloway, University of London in the United Kingdom (UK).[src] The current experimental implementation of the Epigram system is freely available together with a user manual, a tutorial and some background material.[src] The system has been used under Linux, Windows, and macOS.[src] It is currently unmaintained, and version 2, which was intended to implement Observational Type Theory, was never officially released but exists in GitHub.[src]
Epigram is a functional programming language with dependent types, and the integrated development environment (IDE) usually packaged with the language.[src] Epigram's type system is strong enough to express program specifications.[src] 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.[src] Epigram exploits the Curry–Howard correspondence, also termed the propositions as types principle, and is based on intuitionistic type theory.[src] The Epigram prototype was implemented by Conor McBride based on joint work with James McKinna.[src] Its development is continued by the Epigram group in Nottingham, Durham, St Andrews, and Royal Holloway, University of London in the United Kingdom (UK).[src] The current experimental implementation of the Epigram system is freely available together with a user manual, a tutorial and some background material.[src] The system has been used under Linux, Windows, and macOS.[src] It is currently unmaintained, and version 2, which was intended to implement Observational Type Theory, was never officially released but exists in GitHub.[src] The declaration says that Nat is a type with kind * (i.e., it is a simple type) and two constructors: zero and suc .[src] The constructor suc takes a single Nat argument and returns a Nat .[src] This is equivalent to the Haskell declaration " data Nat = Zero | Suc Nat ".[src] In LaTeX, the code is displayed as: \underline{\mathrm{data}} \; \left(\frac{}{\mathsf{Nat} : \star}\right) \; \underline{\mathrm{where}} \; \left(\frac{}{\mathsf{zero} : \mathsf{Nat}}\right) \; ; \; \left(\frac{n : \mathsf{Nat}}{\mathsf{suc}\ n : \mathsf{Nat}}\right) The horizontal-line notation can be read as "assuming (what is on the top) is true, we can infer that (what is on the bottom) is true." For example, "assuming n is of type Nat , then suc n is of type Nat ." If nothing is on the top, then the bottom statement is always true: " zero is of type Nat (in all cases)." {{sxhl|2=idris|1= plus x y y plus (suc x) y => suc (plus x y) } } }} ==Further reading==[src]
22 sentences · 22 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Epigram (programming language)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/epigram-programming-language. Accessed 26 November 2026.
Chicago
"Epigram (programming language)." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/epigram-programming-language.
APA
encyclopegia.org. (2026). Epigram (programming language). Retrieved November 26, 2026, from https://encyclopegia.org/wiki/epigram-programming-language
Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON