Title | ||
---|---|---|
Elastic sheet-defined functions: Generalising spreadsheet functions to variable-size input arrays |
Abstract | ||
---|---|---|
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. |
Year | DOI | Venue |
---|---|---|
2020 | 10.1017/S0956796820000234 | JOURNAL OF FUNCTIONAL PROGRAMMING |
Keywords | DocType | Volume |
Combinatory logic,Modularity,Programming language,Computer science,End user,Reusability,Generalization,Cognitive load,Abstraction,Variable size | Journal | 30 |
ISSN | Citations | PageRank |
0956-7968 | 0 | 0.34 |
References | Authors | |
0 | 5 |
Name | Order | Citations | PageRank |
---|---|---|---|
Matt Mccutchen | 1 | 0 | 0.34 |
Judith Borghouts | 2 | 0 | 0.34 |
Andrew Gordon | 3 | 3713 | 268.70 |
peyton jones | 4 | 42 | 3.64 |
advait sarkar | 5 | 2 | 7.83 |