Thumbnail
Access Restriction
Open

Author Erwig, Martin ♦ Ren, Deling
Source CiteSeerX
Content type Text
Publisher ACM Press
File Format PDF
Language English
Subject Domain (in DDC) Computer science, information & general works ♦ Data processing & computer science
Subject Keyword Software Update ♦ Haskell Program ♦ Small Set ♦ Rule-based Language ♦ Reliable Way ♦ Type Correctness ♦ Key Construct ♦ Object Program ♦ Update Program ♦ Type Change ♦ Update Combinators ♦ Additional Structural Condition ♦ Possible Type Change ♦ Several Example ♦ Haskell Update Language Hula ♦ Typechange Inference System ♦ Update Language ♦ Scope Update Mechanism ♦ Core Calculus ♦ Update Command ♦ Core Update Calculus ♦ Object Language ♦ Basic Update
Description We describe the design of a rule-based language for expressing changes to Haskell programs in a systematic and reliable way. The update language essentially offers update commands for all constructs of the object language (a subset of Haskell). The update language can be translated into a core calculus consisting of a small set of basic updates and update combinators. The key construct of the core calculus is a scope update mechanism that allows (and enforces) update specifications for the definition of a symbol together with all of its uses. The type of an update program is given by the possible type changes it can cause for an object programs. We have developed a typechange inference system to automatically infer type changes for updates. Updates for which a type change can be successfully inferred and that satisfy an additional structural condition can be shown to preserve type correctness of object programs. In this paper we define the Haskell Update Language HULA and give a translation into the core update calculus. We illustrate HULA and its translation into the core calculus by several examples.
In 3rd ACM SIGPLAN Workshop on Rule-Based Programming
Educational Role Student ♦ Teacher
Age Range above 22 year
Educational Use Research
Education Level UG and PG ♦ Career/Technical Study
Learning Resource Type Article
Publisher Date 2002-01-01