Title of article :
Fold and Unfold for Program Semantics
Author/Authors :
Hutton، Graham نويسنده ,
Issue Information :
روزنامه با شماره پیاپی سال 1999
Abstract :
In this paper we explain how recursion operators can be used to structure and reason about program semantics within a functional language. In particular, we show how the recursion operator fold can be used to structure denotational semantics, how the dual recursion operator unfold can be used to structure operational semantics, and how algebraic properties of these operators can be used to reason about program semantics. The techniques are explained with the aid of two main examples, the first concerning arithmetic expressions, and the second concerning Milnerʹs concurrent language CCS. The aim of the paper is to give functional programmers new insights into recursion operators, program semantics, and the relationships between them.
Keywords :
Program calculation , fold , unfold , co-induction , functional programming , traversal , breadth-first , level-order , anamorphism
Journal title :
A C M Sigplan (Programming Languages) Sigplan Notices
Journal title :
A C M Sigplan (Programming Languages) Sigplan Notices