9
%% Just a naive reverse function in order
10
%% to get a code example with some comments.
13
append(X, nrev(Xs)); % Quadratic behaviour
18
%% We need `append' as a subroutine:
20
append(Y, [X | Xs]) ->
21
[X | append(Y, Xs)]; % Simple, innit?
25
%% ---- end of file ----