< Terug naar vorige pagina

Publicatie

GADTs meet their match: Pattern-matching warnings that account for GADTs, guards, and laziness

Tijdschriftbijdrage - Tijdschriftartikel

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.
Tijdschrift: Proceedings of the 12th ACM SIGPLAN International Symposium on Haskell (Haskell 2019)
ISSN: 0362-1340
Issue: 9
Volume: 50
Pagina's: 424 - 436
Jaar van publicatie:2015
BOF-keylabel:ja
IOF-keylabel:ja
BOF-publication weight:0.1
CSS-citation score:1
Auteurs:International
Authors from:Higher Education
Toegankelijkheid:Open