Generic and Indexed Programming

by Jeremy Gibbons

★★★★★
4.5 (570)

US$25.00

15% OFF CODE: SAVE15

Description

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, algebraicstructures, 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