Samples from the PragProg book: Programming Erlang.