A copy of this work was available on the public web and has been preserved in the Wayback Machine. The capture dates from 2017; you can also visit the original URL.
The file type is application/pdf
.
Not all patterns, but enough
2008
Proceedings of the first ACM SIGPLAN symposium on Haskell - Haskell '08
We describe an automated analysis of Haskell 98 programs to check statically that, despite the possible use of partial (or nonexhaustive) pattern matching, no pattern-match failure can occur. Our method is an iterative backward analysis using a novel form of pattern-constraint to represent sets of data values. The analysis is defined for a core first-order language to which Haskell 98 programs are reduced. Our analysis tool has been successfully applied to a range of programs, and our
doi:10.1145/1411286.1411293
dblp:conf/haskell/MitchellR08
fatcat:x6sm5wzzorhbbjlua3eo2wfwhi