5 Lists

    5.1 From Tables to Lists

      5.1.1 Basic Statistical Questions

      5.1.2 Extracting a Column from a Table

      5.1.3 Understanding Lists Lists as Anonymous Data Creating Literal Lists

      5.1.4 Operating on Lists Built-In Operations on Lists of Numbers Built-In Operations on Lists in General An Aside on Naming Conventions Getting Elements By Position Transforming Lists Recap: Summary of List Operations

      5.1.5 Lambda: Anonymous Functions

      5.1.6 Combining Lists and Tables

    5.2 Processing Lists

      5.2.1 Making Lists and Taking Them Apart

      5.2.2 Some Example Exercises

      5.2.3 Structural Problems with Scalar Answers my-len: Examples my-sum: Examples From Examples to Code

      5.2.4 Structural Problems that Transform Lists my-doubles: Examples and Code my-str-len: Examples and Code

      5.2.5 Structural Problems that Select from Lists my-pos-nums: Examples and Code my-alternating: Examples and Code

      5.2.6 Structural Problems Over Relaxed Domains my-max: Examples my-max: From Examples to Code

      5.2.7 More Structural Problems with Scalar Answers my-avg: Examples

      5.2.8 Structural Problems with Accumulators my-running-sum: First Attempt my-running-sum: Examples and Code my-alternating: Examples and Code

      5.2.9 Dealing with Multiple Answers uniq: Problem Setup uniq: Examples uniq: Code uniq: Reducing Computation uniq: Example and Code Variations uniq: Why Produce a List?

      5.2.10 Monomorphic Lists and Polymorphic Types

    5.3 Recursive Data

      5.3.1 Functions to Process Recursive Data

      5.3.2 A Template for Processing Recursive Data