Abstract
We present a pair of reasoning principles, definition and proof by rigid induction, which can be seen as proper generalizations of lazy-datatype induction to monadic effects other than partiality. We further show how these principles can be integrated into logical-relations arguments, and obtain as a particular instance a general and principled proof that the success-stream and failure-continuation models of backtracking are equivalent. As another application, we present a monadic model of general search trees, not necessarily traversed depth-first. The results are applicable to both lazy and eager languages, and we emphasize this by presenting most examples in both Haskell and SML.
Originalsprog | Engelsk |
---|---|
Titel | ICFP 07 : Proceedings of the 2007 ACM SIGPLAN International Conference on Functional Programming, Freiburg, Germany, October 1-3, 2007 |
Forlag | Association for Computing Machinery |
Publikationsdato | 2007 |
Sider | 97-110 |
ISBN (Trykt) | 978-1-59593-815-2 |
DOI | |
Status | Udgivet - 2007 |
Begivenhed | ACM/SIGPLAN International Conference on Functional Programming - Freiburg, Tyskland Varighed: 1 okt. 2007 → 3 okt. 2007 Konferencens nummer: 12 |
Konference
Konference | ACM/SIGPLAN International Conference on Functional Programming |
---|---|
Nummer | 12 |
Land/Område | Tyskland |
By | Freiburg |
Periode | 01/10/2007 → 03/10/2007 |
Navn | SIGPLAN Notices |
---|---|
Nummer | 42 (9) |
ISSN | 0362-1340 |