Abstract
A “pure” function is a function that behaves like a mathematical function: it maps values from one space to another, the same value always maps to the same result, and there is no such thing as “side effects” in a mathematical function.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature
About this chapter
Cite this chapter
Mailund, T. (2023). Pure Functional Programming. In: Functional Programming in R 4. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-9487-1_3
Download citation
DOI: https://doi.org/10.1007/978-1-4842-9487-1_3
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-9486-4
Online ISBN: 978-1-4842-9487-1
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books