计算机科学 > 程序设计语言
[提交于 2019年8月14日]
标题:Type-Based Resource Analysis on Haskell
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We propose an amortized analysis that approximates the resource usage of a Haskell expression. Using the plugin API of GHC, we convert the Haskell code into a simplified representation called GHC Core. We then apply a type-based system which derives linear upper bounds on the resource usage. This setup allows us to analyze actual Haskell code, whereas previous implementations of similar analyses do not support any commonly used lazy functional programming languages.
提交历史
来自:EPTCS[v1] 2019年8月14日 星期三 01:57:59 UTC