Erlang Patterns of Concurrency