Indexed containers

THORSTEN ALTENKIRCH, NEIL GHANI, PETER HANCOCK, CONOR MCBRIDE, PETER MORRIS
2015 Journal of functional programming  
AbstractWe show that the syntactically rich notion of strictly positive families can be reduced to a core type theory with a fixed number of type constructors exploiting the novel notion of indexed containers. As a result, we show indexed containers provide normal forms for strictly positive families in much the same way that containers provide normal forms for strictly positive types. Interestingly, this step from containers to indexed containers is achieved without having to extend the core
more » ... pe theory. Most of the construction presented here has been formalized using the Agda system.
doi:10.1017/s095679681500009x fatcat:xnvlgbsqkndcjagzf6hnpfuppa