/programming-erlang

Solutions to excercises in Programming Erlang second edition

Primary LanguageErlang

Programming Erlang (second edition)

Solutions to excercises.

  • Chapter 1: no excercises
  • Chapter 2: excercise 4, add put_file command to file server.
  • chapter 3: excercise 3, pattern matching on tuples and using lists.
  • chapter 4:
    • excercise 1: Add shapes area and perimeter functions.
    • excercise 2: my_list_to_tuple function.
    • excercise 3: timing function and date format.
    • excercise 4: TBA.
    • excercise 5: even and odd functions.
    • excercise 6: Higher order filter function using even and odd.
    • excercise 7: Split integers function using filter and accumulator.