A Physical Example for Teaching Curried Functions
Gary T. Leavens · Iowa State University Digital Repository (Iowa State University) · 1995
Curried functions are an important topic in Computing courses that teach functional programming, including courses that study programming languages. Good motivating examples for teaching curried functions and their utility can be taken from Physics. BACKGROUND Curried functions and currying are an important topic in computer science courses that teach functional programming [14, section 7.3]. Such courses include undergraduate courses in programming paradigms (unit PL11 in the ACM's Computing Curricula 1991 [15]), with titles such as "Principles of Programming Languages" [11, p. 388] [10, p. 100]. Also included are undergraduate and graduate courses in programming language semantics (unit PL10 in [15]), with titles such as "Essentials of Programming Languages" [7, p.27]. Curried functions are also directly supported by some modern functional programming languages, such as Haskell [4]. Curry [2,3] and others [13] [5, pages 153-156] studying the concept of a function asked the question...