Generic and Indexed Programming
Author | : Jeremy Gibbons |
Publisher | : Springer |
Total Pages | : 266 |
Release | : 2012-07-20 |
ISBN-13 | : 9783642322020 |
ISBN-10 | : 3642322026 |
Rating | : 4/5 (26 Downloads) |
Download or read book Generic and Indexed Programming written by Jeremy Gibbons and published by Springer. This book was released on 2012-07-20 with total page 266 pages. Available in PDF, EPUB and Kindle. Book excerpt: Generic programming is about making programs more widely applicable via exotic kinds of parametrization---not just along the dimensions of values or of types, but also of things such as the shape of data, algebraic structures, strategies, computational paradigms, and so on. Indexed programming is a lightweight form of dependently typed programming, constraining flexibility by allowing one to state and check relationships between parameters: that the shapes of two arguments agree, that an encoded value matches some type, that values transmitted along a channel conform to the stated protocol, and so on. The two forces of genericity and indexing balance each other nicely, simultaneously promoting and controlling generality. The 5 lectures included in this book stem from the Spring School on Generic and Indexed Programming, held in Oxford, UK, in March 2010 as a closing activity of the generic and indexed programming project at Oxford which took place in the years 2006-2010.