Document details

Delta lenses over inductive types

Author(s): Pacheco, Hugo cv logo 1 ; Cunha, Alcino cv logo 2 ; Hu, Zhenjiang cv logo 3

Date: 2012

Persistent ID: http://hdl.handle.net/1822/24656

Origin: RepositóriUM - Universidade do Minho

Subject(s): Bidirectional lenses; Model alignment; Point-free programming


Description
Existing bidirectional languages are either state-based or operation-based, depending on whether they represent updates as mere states or as sequences of edit operations.In-between both worlds are delta-based frameworks, where updates are represented using alignment relationships between states.In this paper, we formalize delta lenses over inductive types using dependent type theory and develop a point-free delta lens language with an explicit separation of shape and data.In contrast with the already known issue of data alignment, we identify the new problem of shape alignment and solve it by lifting standard recursion patterns such as folds and unfolds to delta lenses that use alignment to infer meaningful shape updates.
Document Type Article
Language English
delicious logo  facebook logo  linkedin logo  twitter logo 
degois logo
mendeley logo

Related documents



    Financiadores do RCAAP

Fundação para a Ciência e a Tecnologia Universidade do Minho   Governo Português Ministério da Educação e Ciência Programa Operacional da Sociedade do Conhecimento EU