Title of article
Type-based termination of generic programs
Author/Authors
Andreas Abel، نويسنده ,
Issue Information
ماهنامه با شماره پیاپی سال 2009
Pages
18
From page
550
To page
567
Abstract
Instances of a polytypic or generic program for a concrete recursive type often exhibit a recursion scheme that is derived from the recursion scheme of the instantiation type. In practice, the programs obtained from a generic program are usually terminating, but the proof of termination cannot be carried out with traditional methods as term orderings alone, since termination often crucially relies on the program type. In this article, it is demonstrated that type-based termination using sized types handles such programs very well. A framework for sized polytypic programming is developed which ensures (type-based) termination of all instances.
Keywords
Functional Programming , Polytypic programming , Recursion , Sized type , Type-indexed type
Journal title
Science of Computer Programming
Serial Year
2009
Journal title
Science of Computer Programming
Record number
1080075
Link To Document