Pattern Matching and Its Restrictions in Functional Languages
Gi-Hang Gwon, Ye-Chan Ju, Hyeon-Sam Sin · The Transactions of the Korea Information Processing Society · 1999
Modern functional languages provide some forms of pattern matching capability in them. However, these forms are on an ad-hoc basis and vary from languages to languages, making the user hard to understand the feature. To overcome this problem, we present a systematic approach to adding pattern matching to functional language. We extend to the core functional language with pattern matching capability and illustrate several examples of the language. We also discuss how to extend the pattern matching capability to higher-order terms.