Gadts Meet Their Match: Pattern-Matching Warnings That Account For Gadts, Guards, And Laziness

ACM SIGPLAN Notices(2015)

引用 11|浏览55
暂无评分
摘要
For ML and Haskell, accurate warnings when a function definition has redundant or missing patterns are mission critical. But today's compilers generate bogus warnings when the programmer uses guards (even simple ones), GADTs, pattern guards, or view patterns. We give the first algorithm that handles all these cases in a single, uniform framework, together with an implementation in GHC, and evidence of its utility in practice.
更多
查看译文
关键词
Haskell,pattern matching,Generalized Algebraic Data Types,OUTSIDEIN(X)
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要