I\'m reading a book on Erlang and I make simple example from the book.
exrs.erl
-module(exrs). -export([sum/1]). sum(0) -> 0; sum(N) -> N + sum(