Focusing on pattern matching
Focusing on pattern matching
复制标题
专注于模式匹配
DOI:
10.1145/1480881.1480927
复制
发表时间:
2009
期刊:
影响因子:
--
通讯作者:
N. Krishnaswami
中科院分区:
文献类型:
--
作者:
N. Krishnaswami
In this paper, we show how pattern matching can be seen to arise from a proof term assignment for the focused sequent calculus. This use of the Curry-Howard correspondence allows us to give a novel coverage checking algorithm, and makes it possible to give a rigorous correctness proof for the classical pattern compilation strategy of building decision trees via matrices of patterns.