This document is intended as a stand-alone textbook chapter to be used for introducing some functional programming concepts into a course in which the primary teaching language is Java. For details of the approach, please see the paper "Functional programming, in the data structures course, in Java" by J. MacCormick, which appears in the Journal of Computing Sciences in Colleges (2023).
翻译:该文件是一个独立的教科书章节,用于将一些功能性编程概念引入初级教学语言为爪哇的课程。有关方法的详情,请见J. MacCormick的论文“J. MacCormick在爪哇的数据结构课程中的功能性编程”,该论文载于《各学院计算机科学杂志》(2023年)中。