Lessons
Erlang · Easy
Erlang · Easy. Ten lessons. Open-book quizzes. Lesson 1 free.
10 lessons · The Host · Lesson 1 free
Pass all ten lessons for the certificate. Sample · Claim

Lesson 1 · On the house
List comprehensions
Generators, filters, multiple generators, pattern filters, and binary comprehensions.

Lesson 2
Records
Named tuple fields with -record, defaults, access, update, and pattern matching.

Lesson 3
Errors: error, throw, exit
The three exception classes, try...catch with Class:Reason:Stacktrace, and after.

Lesson 4
Spawning processes
spawn, self(), Pid ! Message, and lightweight processes with isolated memory.

Lesson 5
receive, timeouts, and selective receive
Pattern-matched receive, after timeouts, flushing the mailbox, and server loops.

Lesson 6
Modules and exports
-module, -export, compiling with erlc, calling Module:Function, and local vs remote calls.

Lesson 7
Bit syntax
Construct and match binaries field by field with sizes, types, and endianness.

Lesson 8
Higher-order functions and closures
Funs that return funs, closures over variables, foldr, and composing functions.

Lesson 9
Sets, queues, and ordered dictionaries
sets, ordsets, queue, gb_trees, and proplists for everyday data.

Lesson 10
Timers and time
timer:sleep, erlang:send_after, monotonic time, and measuring durations.
Sample certificate
Certificate of completion
Sign in to claim your certificate of completion.
Certificate
Finish all ten lessons, then sign in
Pass every lesson on this device (quizzes and checks). Then sign in or create an account to type your name and download the JPG.