Home

Awesome

Build Status

Erlings: Small exercises to get you used to reading and writing Erlang code

source: http://www.erlang.org/

Erlang is a programming language used to build massively scalable soft real-time systems with requirements on high availability. Some of its uses are in telecoms, banking, e-commerce, computer telephony and instant messaging. Erlang's runtime system has built-in support for concurrency, distribution and fault tolerance.

One of the most important parts of any learning process it the resolution of practical problems by one self, but is hard when you don't have anything to guide you or something to compare with.

Must Read

Exercises

The exercises are divided in 5 sections. They are meant to be done as you read Learn you some Erlang for great good, but feel free to do them as you wish.

Start by clicking one of the exercises below or just run:

$ make

A. Sequential Programming

  1. Installing

  2. Filter numbers

    1. Filter in
    2. Filter out
    3. Filter in values
  3. Hello world

  4. Hello pattern

  5. Lists

    1. Reverse
    2. Remove Consecutive
    3. Even Fibonacci Numbers
    4. Reduce
    5. Rotate Lists
    6. Run-length Encoding of a List
    7. Any
    8. Anagram
    9. First Letter Last Letter
  6. Bank Accounts

  7. Calculate BMI

  8. Insert element at position

  9. Filter Fibonacci Numbers

  10. Maps

    1. Sum of Values
    2. Min Value
    3. Sort keys
    4. Return values
    5. Mapping a Map
    6. Merge Map
    7. List to Map
    8. Records to Maps
    9. Maps to Records
    10. Proplist to Map
  11. Implement a simple regex engine

B. Concurrent Programming

  1. Parallel Map
  2. Calculator
  3. Priority
  4. Ring Benchmark

C. OTP

  1. Shopping Cart
  2. Worker pool

D. Distributed Programming

  1. Remote Function

E. Libraries

  1. Shortly

Down the Rabbit Hole

Advanced Erlang

Distributed systems and databases

Riak and riak_core

Elixir