Function composition is a good practice: nifty assignment

Functional programming (FP) is an important programming paradigm that differs dramatically from imperative programming paradigm. It was a unanimous agreement and a strong recommendation by the program committee in the First ACM SIGPLANWorkshop on Undergraduate Programming Language Curricula [1] that FP is to be included in the undergraduate computer science curriculum. In this abstract, we introduce a FP assignment that, we believe, would be helpful for students to grasp some key features and flavors of FP.