Reusability and Dependent Types: Case for Support

msra

引用 23|浏览8
暂无评分
摘要
Summary Robin Milner coined the slogan well typed programs cannot go wrong, advertising the power of types in functional lan- guages like ML and Haskell to catch runtime errors. Nowadays, we can and should go further: dependently typed pro- gramming exploits the power of very expressive type systems to deliver stronger guarantees but also additional support for software development, using types to guide the development process. This is witnessed by a recent surge of language proposals with the goal to harness the power of dependent types, e.g. Haskell with GADTs (84, 85), Agda (90), Coq (18), Wmega (88), Concoqtion (83), Guru (89), Ynot (77), Epigram (68), and so on. However, expressive type systems have their price: more specific types frequently reduce the reusability of code, whose too-specific implementation type may not fit its current application. This phenomenon already shows up in the traditional Hindley-Milner style type system of ML and Haskell; it becomes even more prevalent in a dependently typed setting. Luckily, all is not lost: dependent types are expressive enough that they can talk about themselves reflectively, making meta- programming one of their potential killer applications (11), with the potential to combine expressive types and reusable software components. Based on and inspired by recent research at Nottingham on dependently typed programming (EPSRC EP/C512022/1) and container types (EPSRC EP/C511964/2) and at Oxford on datatype-generic programming (EPSRC GR/S27078/01, EP/E02128X/1) we plan to explore the potential of dependent types to deliver reusable and reliable software components. To achieve this, we intend to explore two alternative roads — reusability by structure and reusability by design — and express both within a dependently typed framework. Our programme is to build new tools extending the Epigram2 framework, investigate the underlying theory using container types, and most importantly establish novel programming patterns and libraries. We seek funding for an RA at Nottingham (Peter Morris, whose PhD laid much of the groundwork for this proposal), and two doctoral students (one each at Oxford and Strathclyde), together with appropriate support for equipment, coordination, travel, and dissimination (i.e. a workshop and a summer school)
更多
查看译文
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要