Contains the examples in my blog post Introduction to Erlang.
- Erlang
- sh/bash (optional, for running
run.sh
)
bar
: A simple app that demonstrates the use of modulespokemon
: A simple app that demonstrates actorlike behavior of processes using pokemonfizzbuzz
: A concurrent implementation of fizzbuzzguess
: The Erlang implementation of my Akka-based number guessing game from earlierdistributed
: Demonstration of communicating Erlang nodes using two apps that run simultaneously and send messages to each otherguess-otp
: An Erlang/OTP compliant version ofguess
configured-apps
: A very basic Erlang/OTP app that demonstrates runtime configurationsrebarred
: A simple app with dependencies, generated and managed byrebar3
To run an example, execute run.sh
and pass it the name of the example (e.g. ./run.sh pokemon
).
Any additional arguments will be passed to the app's own runner (e.g. ./run.sh distributed-apps test
)
MIT