Type-safe pattern combinators

Morten Rhiger

    Research output: Journal Article or Conference Article in JournalJournal articleResearchpeer-review

    Abstract

    Macros still haven't made their way into typed higher-order programming languages such as Haskell and Standard ML. Therefore, to extend the expressiveness of Haskell or Standard ML, one must express new linguistic features in terms of functions that fit within the static type systems of these languages. This is particularly challenging when introducing features that span across multiple types and that bind variables. We address this challenge by developing, in a step by step manner, mechanisms for encoding patterns and pattern matching in Haskell in a type-safe way.

    Original languageEnglish
    JournalJournal of Functional Programming
    Volume19
    Issue number02
    Pages (from-to)145-156
    ISSN0956-7968
    DOIs
    Publication statusPublished - 2009

    Keywords

    • Typed Higher-Order Programming
    • Type Systems
    • Haskell
    • Pattern Matching
    • Type-Safe Encoding

    Fingerprint

    Dive into the research topics of 'Type-safe pattern combinators'. Together they form a unique fingerprint.

    Cite this