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

  1. List comprehensions

    Lesson 1 · On the house

    List comprehensions

    Generators, filters, multiple generators, pattern filters, and binary comprehensions.

  2. Records

    Lesson 2

    Records

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

  3. Errors: error, throw, exit

    Lesson 3

    Errors: error, throw, exit

    The three exception classes, try...catch with Class:Reason:Stacktrace, and after.

  4. Spawning processes

    Lesson 4

    Spawning processes

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

  5. receive, timeouts, and selective receive

    Lesson 5

    receive, timeouts, and selective receive

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

  6. Modules and exports

    Lesson 6

    Modules and exports

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

  7. Bit syntax

    Lesson 7

    Bit syntax

    Construct and match binaries field by field with sizes, types, and endianness.

  8. Higher-order functions and closures

    Lesson 8

    Higher-order functions and closures

    Funs that return funs, closures over variables, foldr, and composing functions.

  9. Sets, queues, and ordered dictionaries

    Lesson 9

    Sets, queues, and ordered dictionaries

    sets, ordsets, queue, gb_trees, and proplists for everyday data.

  10. Timers and time

    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.

All lessons