首页    期刊浏览 2024年07月08日 星期一
登录注册

文章基本信息

  • 标题:Delta Lenses over Inductive Types
  • 本地全文:下载
  • 作者:Hugo Pacheco ; Alcino Cunha ; Zhenjiang Hu
  • 期刊名称:Electronic Communications of the EASST
  • 电子版ISSN:1863-2122
  • 出版年度:2012
  • 卷号:49
  • 语种:English
  • 出版社:European Association of Software Science and Technology (EASST)
  • 摘要: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.
国家哲学社会科学文献中心版权所有