Elastic sheet-defined functions: Generalising spreadsheet functions to variable-size input arrays

JOURNAL OF FUNCTIONAL PROGRAMMING(2020)

引用 7|浏览29
暂无评分
摘要
Sheet-defined functions(SDFs) bring modularity and abstraction to the world of spreadsheets. Alas, end users naturally write SDFs that work overfixed-sizearrays, which limits their reusability. To help end user programmers write more reusable SDFs, we describe a principled approach togeneralisingsuch functions to becomeelastic SDFsthat work over inputs of arbitrary size. We prove that under natural, checkable conditions, our algorithm returns the principal generalisation of an input SDF. We describe a formal semantics and several efficient implementation strategies for elastic SDFs. A user study with spreadsheet users compares the human experience of programming with elastic SDFs to the alternative of relying on array-processing combinators. Our user study finds that the cognitive load of elastic SDFs is lower than for SDFs with map/reduce array combinators, the closest alternative solution.
更多
查看译文
关键词
Combinatory logic,Modularity,Programming language,Computer science,End user,Reusability,Generalization,Cognitive load,Abstraction,Variable size
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要