Chapter 15. Working with Data
Software applications deal with data in a wide array of forms: single values such as integers or strings; composite values paired together as tuples, records, or objects; collections of smaller pieces of data represented as lists, sets, arrays, or sequences; XML strings with tags describing the shape and kind of data; and data coming from relational or object-oriented databases, just to name a few.
This chapter looks at ways of working with some common data sources:
In Chapter 3, you saw that sequences, similar to other enumerable data types such as lists, arrays, maps, and sets, have various aggregate iteration, query, and transform operators. This chapter first looks at how you can use these operators in a straightforward ...