List of Listings
Chapter 1. Introduction
Listing 1.1. Example GenServer
Listing 1.2. Function that has been annotated with type specifications
Chapter 2. A whirlwind tour
Listing 2.1. Length converter program in Elixir (length_converter.ex)
Listing 2.2. Nesting defmodules to convert meters to inches
Listing 2.3. Flattening the module hierarchy (Interactive Elixir)
Listing 2.4. Tic-tac-toe board that uses tuples to represent board configurations
Chapter 3. Processes 101
Listing 3.1. Full source of lib/worker.ex
Listing 3.2. Adding loop/0 to the worker so it can respond to messages
Listing 3.3. Full source of lib/coordinator.ex
Listing 3.4. Function to spawn a coordinator process and worker processes ...
Get The Little Elixir & OTP Guidebook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.