Abstract
This chapter introduces the design of compound functions using conditional expressions. An explicit connection is made between data definitions with varieties and compound functions. Function templates are introduced as a mechanism to manage the design of multiple functions for the same data definition.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this chapter
Cite this chapter
Morazán, M. (2022). Making Decisions. In: Animated Problem Solving. Texts in Computer Science. Springer, Cham. https://doi.org/10.1007/978-3-030-85091-3_5
Download citation
DOI: https://doi.org/10.1007/978-3-030-85091-3_5
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-85090-6
Online ISBN: 978-3-030-85091-3
eBook Packages: Computer ScienceComputer Science (R0)