Appreciating Functional Programming: A Beginner’s Tutorial to HASKELL Illustrated with Applications in Numerical Methods

Authors

  • Chu Wei Lim
  • Weng Kin Ho

Abstract

This paper introduces functional programming to the numerical methods community with the aim of popularizing this programming paradigm through a deeper appreciation for function as a mathematical concept and, at the same time, for its practical benefits. The functional language HASKELL is chosen amongst several choices because of its lazy evaluation strategy and high-performance compiler WinGHCi. We demonstrate the elegance and versatility of HASKELL by coding HASKELL programs to implement well-known numerical methods.

Published

2022-03-29

Issue

Section

Articles