The Dys-functional student
Functional languages liberate students from complex syntax, complex semantics and complex memory allocation; allowing them to concentrate on problem-solving. However, functional programming is not a universal panacea. Students still have problems with language features, program concepts and the legacy of the imperative paradigm. This paper aims to assist the lecturer asked to teach a functional language for the first time. We present typical student mistakes, attempt to explain why these mistakes arise, and propose possible remedies.
KeywordsBase Case Pattern Match Function Definition Functional Programming Functional Language
Unable to display preview. Download preview PDF.
- [App94]A. Appel. A critique of Standard ML. JFP, 3:391–429, 1993.Google Scholar
- [Cla94]C. Clack, C. Myers & E. Poon. Programming with Miranda. Prentice Hall, 1994.Google Scholar
- [Joo93]S. Joosten, K. van der Berg & G. ven der Hoeven. Teaching functional programming to first-year students. JFP, 3:49–65, 1993.Google Scholar
- [Lam93]T. Lambert, P. Lindsay & K. Robinson. Using Miranda as a first programming language. JFP, 3:5–34, 1993.Google Scholar
- [Mol93]P. Molyneux. Functional programming for business students. JFP, 3:35–48, 1993.Google Scholar
- [Mor82]J. Morris. Real Programming in Functional Languages, in J. Darlington P. Henderson & D. Turner Functional Programming and its Applications, CUP, 1982.Google Scholar
- [Mye93]C. Myers, C. Clack & E. Poon. Programming with Standard ML. Prentice Hall, 1993.Google Scholar