The LFE Tutorial
Title Page
Copyright Page
1.
Introduction
1.1.
About Erlang
1.2.
About LFE
1.3.
Dependencies
1.4.
Installing LFE
2.
Sequential Programming
2.1.
The REPL
2.2.
Modules and Functions
2.3.
Atoms
2.4.
Tuples
2.5.
Lists
2.6.
Property Lists and Maps
2.7.
The Erlang Standard Library
2.8.
Writing Output to a Terminal
2.9.
Example: Converting Temperature
2.10.
Matching, Guards and Scope of Variables
2.11.
More About Lists
2.12.
Conditionals
2.13.
Built-in Functions
2.14.
Higher Order Functions
3.
Concurrent Programming
3.1.
Processes
3.2.
Message Passing
3.3.
Registered Process Names
3.4.
Distributed Programming
3.5.
Example: Messenger
4.
Robustness
4.1.
Timeouts
4.2.
Error Handling
4.3.
Example: Robust Messenger
5.
Records
5.1.
Modularising
5.2.
Header Files
5.3.
Records
6.
Macros
6.1.
Eval
6.2.
Macros
6.3.
The Backquote Macro
7.
Conclusion
Feedback
LFE Documentation
Built with mdBook
LFE PDP
Light
Rust
Coal
Navy
Ayu
The LFE Tutorial