Elixir Cookbook
eBook - ePub

Elixir Cookbook

Paulo A Pereira

Share book
  1. 236 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Elixir Cookbook

Paulo A Pereira

Book details
Book preview
Table of contents
Citations

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on ā€œCancel Subscriptionā€ - itā€™s as simple as that. After you cancel, your membership will stay active for the remainder of the time youā€™ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlegoā€™s features. The only differences are the price and subscription period: With the annual plan youā€™ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, weā€™ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Elixir Cookbook an online PDF/ePUB?
Yes, you can access Elixir Cookbook by Paulo A Pereira in PDF and/or ePUB format, as well as other popular books in Computer Science & Open Source Programming. We have over one million books available in our catalogue for you to explore.

Information

Elixir Cookbook


Table of Contents

Elixir Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Command Line
Introduction
Using the terminal to prototype and test ideas
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Loading and compiling modules
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Getting help and accessing documentation within IEx
How to do itā€¦
How it worksā€¦
There's moreā€¦
Using Erlang from Elixir
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Inspecting your system in IEx
Getting ready
How to do itā€¦
How it worksā€¦
See also
Inspecting your system with Observer
Getting ready
How to do itā€¦
Creating a simple application
How to do itā€¦
How it worksā€¦
See also
Managing dependencies
Getting ready
How to do itā€¦
How it worksā€¦
See also
Generating a supervised application
How to do itā€¦
How it worksā€¦
See also
Generating umbrella applications
How to do itā€¦
How it worksā€¦
See also
Managing application configuration
How to do itā€¦
How it worksā€¦
Creating custom Mix tasks
How to do itā€¦
How it worksā€¦
2. Data Types and Structures
Understanding immutability
Getting ready
How to do itā€¦
How it worksā€¦
Adding and subtracting lists
Getting ready
How to do itā€¦
How it worksā€¦
Combining tuples into a list
Getting ready
How to do itā€¦
How it worksā€¦
See also
Creating and manipulating keyword lists
Getting ready
How to do itā€¦
How it worksā€¦
Using pattern matching
Getting ready
How to do itā€¦
How it worksā€¦
See also
Pattern matching an HTTPoison response
Getting ready
How to do itā€¦
How it worksā€¦
Creating a key/value store with a map
Getting ready
How to do itā€¦
How it worksā€¦
See also
Mapping and reducing enumerables
Getting ready
How to do itā€¦
How it worksā€¦
There is moreā€¦
Generating lazy (even infinite) sequences
How to do itā€¦
How it worksā€¦
There is moreā€¦
Streaming a file as a resource
Getting ready
How to do itā€¦
How it worksā€¦
3. Strings and Binaries
Introduction
Joining strings
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Splitting strings
Getting ready
How to do itā€¦
How it worksā€¦
See also
Replacing string codepoints with patterns
Getting ready
How to do itā€¦
How it worksā€¦
See also
Slicing strings with ranges
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Using regular expressions
Getting ready
How to do itā€¦
How it worksā€¦
See also
Combining operations with the |> operator
Getting ready
How to do itā€¦
How it worksā€¦
Creating a word list
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Determining the word frequency in a text
Getting ready
How to do itā€¦
How it worksā€¦
Reading and writing metadata from MP3 files
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
4. Modules and Functions
Introduction
Namespacing modules
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Using module attributes as constants
How to do itā€¦
How it worksā€¦
See also
Enforcing behaviors
How to do itā€¦
How it worksā€¦
See also
Documenting modules
Getting ready
How to do itā€¦
Using module directives
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Using a module in the scripted mode
How to do itā€¦
How it worksā€¦
There's moreā€¦
Defining functions with default arguments
Getting ready
How to do itā€¦
How it worksā€¦
Using guard clauses and pattern matching in function definitions
Getting ready
How to do itā€¦
How it worksā€¦
5. Processes and Nodes
Introduction
Sending messages between processes
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Making code run on all available CPUs
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Using tasks to perform multiple concurrent computations
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Creating a stateful server process (messages with...

Table of contents