Repository with all the files and tasks from the Erlang class in Tec de Monterrey CCM (Fall 2016). You can use them as you wish in any project.
In order to compile and use them:
- Install Erlang.
- Navigate to the files containing folder.
- Type "c(ModuleName)."
- Use "[MODULE_NAME]:[FUNCTION_NAME]()" to use functions.
For example:
c(calc).
calc:start().
IMPORTANT: In the loop-designed modules it's essential to export the loop function (although not necessary outside). Otherwise it's not going to compile
Database implemented as a separate looping process with client interface. Made by Sergey Pavlov and Augusto Monge.
Calculator implemented as a separate looping process with client interface.
Standard library functions such as len, sum, reverse, reduce and so on. Implemented with different types of recursion: usual, tail-recursion and language-specific ones.
Erlang master class made after University of Kent videos.
Processes subscription.
Fault tolerant application architecture.
Ring processes architecture.
Process echo sample + Merge Sort implementation.
Sample server with hello-world website page.
Creates a process which waits for a message from the other process. If gets no message in given time reports that.