Recursive Functions with Pattern Matching in Interaction Nets
Maribel Fernández, Ian Mackie, Shinya Sato, Matthew Walker · Electronic Notes in Theoretical Computer Science · 2009
We compile functional languages with pattern-matching features into interaction nets, extending the well-known efficient evaluation strategies developed for the pure λ -calculus. We give direct translations of recursion and pattern matching for languages with a strict matching semantics, implementing an evaluation strategy that is natural in interaction nets and has a high degree of sharing.