Copyright
Brief Table of Contents
Table of Contents
Foreword
Preface
Acknowledgments
About This Book
Introduction
1. Getting past pure Erlang: the OTP basics
Chapter 1. The Erlang/OTP platform
1.1. Concurrent programming with processes
1.1.1. Understanding concurrency
1.1.2. Erlang’s process model
1.1.3. Four process communication paradigms
1.1.4. Programming with processes in Erlang
1.2. Erlang’s fault tolerance infrastructure
1.2.1. How process links work
1.2.2. Supervision and trapping of exit signals
1.2.3. Layering processes for fault tolerance
1.3. Distributed Erlang
1.4. The Erlang runtime system and virtual machine
1.4.1. The scheduler
1.4.2. I/O and scheduling
1.4.3. Process isolation and the garbage collector
1.5. Functional programming: Erlang’s face to the world
1.6. Summary
Chapter 2. Erlang language essentials
2.1. The Erlang shell
2.1.1. Starting the shell
2.1.2. Entering expressions
2.1.3. Shell functions
2.1.4. Escaping from the shell
2.1.5. Job-control basics
2.2. Data types in Erlang
2.2.1. Numbers and arithmetic
2.2.2. Binaries and bitstrings
2.2.3. Atoms
2.2.4. Tuples
2.2.5. Lists
2.2.6. Strings
2.2.7. Pids, ports, and references
2.2.8. Functions as data: funs
2.2.9. Comparing terms
2.2.10. Understanding lists
2.3. Modules and functions