Intensional Datatype Refinement

August 04, 2020 ยท Entered Twilight ยท ๐Ÿ› Proc. ACM Program. Lang.

๐ŸŒ… TWILIGHT: Old Age
Predates the code-sharing era โ€” a pioneer of its time

"Last commit was 5.0 years ago (โ‰ฅ5 year threshold)"

Evidence collected by the PWNC Scanner

Repo contents: .gitignore, ChangeLog.md, LICENSE, README.md, Setup.hs, benchmark, cabal.project, docs, intensional-datatys.cabal, profile, src, test

Authors Eddie Jones, Steven Ramsay arXiv ID 2008.01452 Category cs.PL: Programming Languages Citations 3 Venue Proc. ACM Program. Lang. Repository https://github.com/bristolpl/intensional-datatys โญ 5 Last Checked 2 months ago
Abstract
The pattern-match safety problem is to verify that a given functional program will never crash due to non-exhaustive patterns in its function definitions. We present a refinement type system that can be used to solve this problem. The system extends ML-style type systems with algebraic datatypes by a limited form of structural subtyping and environment-level intersection. We describe a fully automatic, sound and complete type inference procedure for this system which, under reasonable assumptions, is worst-case linear-time in the program size. Compositionality is essential to obtaining this complexity guarantee. A prototype implementation for Haskell is able to analyse a selection of packages from the Hackage database in a few hundred milliseconds.
Community shame:
Not yet rated
Community Contributions

Found the code? Know the venue? Think something is wrong? Let us know!

๐Ÿ“œ Similar Papers

In the same crypt โ€” Programming Languages