Abstract
In Clojure, sequences are a unified way to read, write, and modify any data structure that is logically a collection of items. They are built into Clojure at a very basic level, and are by far the most convenient and idiomatic way to handle collections. They fill the role occupied by lists in other Lisp dialects. More than just a collection API, they are the framework around which program flow and logic are often constructed, and are designed to be as easy-to-use as the basis for recursion and higher-order function application.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Editor information
Rights and permissions
Copyright information
© 2010 Luke VanderHart and Stuart Sierra
About this chapter
Cite this chapter
VanderHart, L., Sierra, S. (2010). Sequences. In: Andres, C., et al. Practical Clojure. Apress. https://doi.org/10.1007/978-1-4302-7230-4_5
Download citation
DOI: https://doi.org/10.1007/978-1-4302-7230-4_5
Publisher Name: Apress
Print ISBN: 978-1-4302-7231-1
Online ISBN: 978-1-4302-7230-4
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books