arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2602.16809cs.PL
收藏

Haskell 与 Evariste 的交汇

Haskell meets Evariste

HASLab/ U.Minho \& INESC TEC Braga Portugal;HASLab/ U.Minho \& INESC TEC

Paulo R. Pereira, Jose N. Oliveira

AI总结:

本文探讨了通过易难分拆策略提升Haskell函数文档清晰度和概念设计的方法,并展示了其在程序分析与综合中的应用价值。

摘要:

自20世纪50年代末作为新的科学知识体系诞生以来,计算机编程已成为许多其他学科中不可或缺的基本技能。然而,编程并不容易,容易出错,代码重用对生产率至关重要。这要求软件库具有高质量的文档,但这种情况往往并不常见。通过选取几个来自Hackage仓库的Haskell函数作为案例研究,并将它们的描述与在其他语言中相似的函数进行比较,本文展示了如何通过遵循一种被称为“易难分拆”形式策略来实现清晰度和良好的概念设计。这种策略相当通用且富有成效,即使在非正式使用下也是如此。该策略在函数式编程中易于使用,并可应用于程序分析和综合。

英文摘要:

Since its birth as a new scientific body of knowledge in the late 1950s, computer programming has become a fundamental skill needed in many other disciplines. However, programming is not easy, it is prone to errors and code re-use is key for productivity. This calls for high-quality documentation in software libraries, which is quite often not the case. Taking a few Haskell functions available from the Hackage repository as case-studies, and comparing their descriptions with similar functions in other languages, this paper shows how clarity and good conceptual design can be achieved by following a so-called easy-hard-split formal strategy that is quite general and productive, even if used informally. This strategy is easy to use in functional programming and can be applied to both program analysis and synthesis.

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

↑