arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1005.1213cs.SEcs.PL
收藏

函数式语言中的视图、程序转换和演化问题

Views, Program Transformations, and the Evolutivity Problem in a Functional Language

Julien Cohen, Rémi Douence

摘要:

我们报告的经验,以支持多个视图的程序,以解决暴政的主导分解功能设置。对于表达式问题的经典例子,我们考虑Haskell中两种可能的架构。我们将展示如何使用Haskell Refactorer将一个视图转换为另一个视图,以及另一种方式。这种转换是自动化的,我们将讨论如何调整Haskell Refactorer以支持这种自动化转换。最后,我们比较我们的实施意见与一些文献。

英文摘要:

We report on an experience to support multiple views of programs to solve the tyranny of the dominant decomposition in a functional setting. We consider two possible architectures in Haskell for the classical example of the expression problem. We show how the Haskell Refactorer can be used to transform one view into the other, and the other way back. That transformation is automated and we discuss how the Haskell Refactorer has been adapted to be able to support this automated transformation. Finally, we compare our implementation of views with some of the literature.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑