Containers, monads and induction recursion
Ghani, Neil and Hancock, Peter (2016) Containers, monads and induction recursion. Mathematical Structures in Computer Science, 26 (Specia). pp. 89-113. ISSN 1469-8072 (https://doi.org/10.1017/S0960129514000127)
Full text not available in this repository.Request a copyAbstract
Induction recursion offers the possibility of a clean, simple and yet powerful meta-language for the type system of a dependently typed programming language. At its crux, induction recursion allows us to define a universe, that is a set U of codes and a decoding function T : U → D which assigns to every code u : U, a value T, u of some type D, e.g. the large type Set of small types or sets. The name induction recursion refers to the build-up of codes in U using inductive clauses, simultaneously with the definition of the function T, by structural recursion on codes. Our contribution is to (i) bring out explicitly algebraic structure which is less visible in the original type-theoretic presentation – in particular showing how containers and monads play a pivotal role within induction recursion; and (ii) use these structures to present a clean and high level definition of induction recursion suitable for use in functional programming.
ORCID iDs
Ghani, Neil ORCID: https://orcid.org/0000-0002-3988-2560 and Hancock, Peter;-
-
Item type: Article ID code: 55282 Dates: DateEvent1 January 2016Published20 November 2014Published Online1 June 2012AcceptedSubjects: Science > Mathematics > Electronic computers. Computer science Department: Faculty of Science > Computer and Information Sciences Depositing user: Pure Administrator Date deposited: 08 Jan 2016 14:32 Last modified: 11 Nov 2024 10:07 Related URLs: URI: https://strathprints.strath.ac.uk/id/eprint/55282