Skip to search boxSkip to navigationSkip to main content

Type-safe pattern combinators

  • Morten Rhiger
Research Output:
Journal Article or Conference Article in Journal
Journal article
Peer-review

Open access

Publication Information

Output type

Research Output:
Journal Article or Conference Article in Journal
Journal article
Peer-review

Original language

English

Pages from-to (Number of pages)

Pages 145-156

Journal (Volume, Issue Number)

Journal of Functional Programming (Volume 19, Issue 02)

Publication milestones

  • Published - 2009

Publication status

Published - 2009

ISSN

0956-7968

Publication IDs

  • Scopus: 68149101446

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.

Publication metrics

PlumX, opens in new tab

Captures
14
Citations
9