Projects per year
Abstract
Dependently typed programming languages allow sophisticated properties of data to be expressed within the type system. Of particular use in dependently typed programming are indexed types that refine data by computationally useful information. For example, the ℕ-indexed type of vectors refines lists by their lengths. Other data types may be refined in similar ways, but programmers must produce purpose-specific refinements on an ad hoc basis, developers must anticipate which refinements to include in libraries, and implementations often store redundant information about data and their refinements. This paper shows how to generically derive inductive characterisations of refinements of inductive types, and argues that these characterisations can alleviate some of the aforementioned difficulties associated with ad hoc refinements. These characterisations also ensure that standard techniques for programming with and reasoning about inductive types are applicable to refinements, and that refinements can themselves be further refined.
Original language | English |
---|---|
Title of host publication | Foundations of Software Science and Computational Structures |
Subtitle of host publication | 14th International Conference, FOSSACS 2011 |
Editors | Martin Hofmann |
Publisher | Springer |
Pages | 72-87 |
Number of pages | 16 |
ISBN (Print) | 978-3-642-19804-5 |
DOIs | |
Publication status | Published - 2011 |
Publication series
Name | Lecture Notes in Computer Science |
---|---|
Publisher | Springer |
Volume | 6604 |
ISSN (Print) | 0302-9743 |
Keywords
- programming language
- typed programming
- data types
Projects
- 1 Finished
-
Categorical Foundations of Indexed Programming
Johann, P. & Ghani, N.
EPSRC (Engineering and Physical Sciences Research Council)
1/07/09 → 31/12/12
Project: Research