arXiv · 1908.06478
Type-Based Resource Analysis on Haskell
Abstract
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.
Explore related subjects
Keep this discovery
Franz Siglmüller. 2019-08-14. Type-Based Resource Analysis on Haskell. https://doi.org/10.4204/eptcs.298.4
Cite the original work for its findings. Save a collection to share your selection of sources.