Proceedings of the ACM on Programming Languages · 2018 · 13 citations · 51 references
ComputingComputer ScienceFormal MethodsParallel ComputingProgramming LanguagesData ParallelismData TypesData-flow AnalysisFunctional ProgrammingModule SystemsType SystemsAbstract SemanticsAbstractionFunctional Parallel ProgrammingHigher-order ModulesModule CompositionModule SemanticsStatic InterpretationStatic Semantics
We present a higher-order module system for the purely functional data-parallel array language Futhark. The module language has the property that it is completely eliminated at compile time, yet it serves as a powerful tool for organizing libraries and complete programs. The presentation includes a static and a dynamic semantics for the language in terms of, respectively, a static type system and a provably terminating elaboration of terms into terms of an underlying target language. The development is formalised in Coq using a novel encoding of semantic objects based on products, sets, and finite maps. The module language features a unified treatment of module type abstraction and core language polymorphism and is rich enough for expressing practical forms of module composition.
51
How to make ad-hoc polymorphism less ad hoc
Philip Wadler, Stephen Blott · 1989 · 770 citations · Full text
Intensional interpretations of functionals of finite type I
W. W. Tait · Journal of Symbolic Logic · 1967 · 557 citations
Humanities, Mathematics, Logic +13
Stephen Joe, Frances Y. Kuo · ACM Transactions on Mathematical Software · 2003 · 370 citations