Book description
Smooth, powerful, and small, Elixir is an excellent language for learning functional programming, and with this hands-on introduction, you’ll discover just how powerful Elixir can be. Authors Simon St. Laurent and J. David Eisenberg show you how Elixir combines the robust functional programming of Erlang with an approach that looks more like Ruby, and includes powerful macro features for metaprogramming. Updated to cover Elixir 1.4, the second edition of this practical book helps you write simple Elixir programs by teaching one skill at a time.
Publisher resources
Table of contents
- Preface
- 1. Getting Comfortable
- 2. Functions and Modules
- 3. Atoms, Tuples, and Pattern Matching
- 4. Logic and Recursion
- 5. Communicating with Humans
- 6. Lists
- 7. Name-Value Pairs
- 8. Higher-Order Functions and List Comprehensions
- 9. Playing with Processes
- 10. Exceptions, Errors, and Debugging
- 11. Static Analysis, Typespecs, and Testing
- 12. Storing Structured Data
- 13. Getting Started with OTP
- 14. Using Macros to Extend Elixir
- 15. Using Phoenix
- A. An Elixir Parts Catalog
- B. Generating Documentation with ExDoc
- Index
Product information
- Title: Introducing Elixir, 2nd Edition
- Author(s):
- Release date: January 2017
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491956779
You might also like
book
Build a Weather Station with Elixir and Nerves
The Elixir programming language has become a go-to tool for creating reliable, fault-tolerant, and robust server-side …
book
Études for Elixir
This book includes descriptions of programs that you can write in Elixir. The programs will usually …
book
Testing Elixir
Elixir offers new paradigms, and challenges you to test in unconventional ways. Start with ExUnit: almost …
book
Adopting Elixir
Adoption is more than programming. Elixir is an exciting new language, but to successfully get your …