Get started

Erlang tutorial slides

In the slides repository you find both lecture slides and a set of tutorial slides for module 8.

Other online resources

The official Erlang documentation

The Linux terminal

The string $ will be used to denote the Linux shell prompt. For example, to run the ls command, the following notation will be used:

$ ls

The Erlang shell

The string erlang> will be used to denote the Erlang shell prompt. For example, to execute 4+1 in the Erlang shell, the following notation will be used:

erlang> 4+1.

Clone repository

Before you continue, you must clone the module-8 repository. From the terminal, navigate to a directory where you want the cloned directory to be created and execute the following command.

$ git clone

Now you should see something similar to this in the terminal.

$ git clone
Cloning into 'module-8'...
remote: Counting objects: 23, done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 23 (delta 1), reused 23 (delta 1), pack-reused 0
Unpacking objects: 100% (23/23), done.

Generate and view documentation

In the terminal, navigate to the module-8/mandatory directory.

$ cd module-8/mandatory

Use make to generate html documentation for the provided Erlang modules.

$ make doc

Use the help script to view the html documentation in your default web browser.

$ ./help

If the help script doesn’t work, you can get the url of the generated html documentation:

$ make doc_url