Type checking with open type functions

Tom Schrijvers, Simon Peyton Jones, Manual Chakravarty, Martin Sulzmann

    Publikation: Konference artikel i Proceeding eller bog/rapport kapitelKonferencebidrag i proceedingsForskningpeer review

    Abstract

    We report on an extension of Haskell with open type-level functions and equality constraints that unifies earlier work on GADTs, functional dependencies, and associated types. The contribution of the paper is that we identify and characterise the key technical challenge of entailment checking; and we give a novel, decidable, sound, and complete algorithm to solve it, together with some practically-important variants. Our system is implemented in GHC, and is already in active use.
    OriginalsprogEngelsk
    TitelProceeding of the 13th ACM SIGPLAN international conference on Functional programming
    ForlagAssociation for Computing Machinery
    Publikationsdato2008
    Sider51-62
    ISBN (Trykt)978-1-59593-919-7
    DOI
    StatusUdgivet - 2008
    BegivenhedICFP 2008 : The 13th ACM SIGPLAN International Conference on Functional Programming - Victoria, British Columbia, Canada
    Varighed: 22 sep. 200824 sep. 2008
    Konferencens nummer: 13

    Konference

    KonferenceICFP 2008 : The 13th ACM SIGPLAN International Conference on Functional Programming
    Nummer13
    Land/OmrådeCanada
    ByVictoria, British Columbia
    Periode22/09/200824/09/2008

    Emneord

    • Haskell extensions
    • Type-level functions
    • Equality constraints
    • Entailment checking
    • GHC implementation

    Citationsformater