Hello Guys,
I am new programming in Erlang and I don’t have much experience working with Meta-programming. In my learning process I found Merl. I saw some presentations and read about it. I have been try to use the API for building modules (merl_build), but I could not do an example,
-module(recursive).
-export([fac/1]).
fac(N) when is_integer(N), N == 0 -> 1;
fac(N) when is_integer(N), N > 0 -> N*fac(N-1).
maybe due to my reduce knowledge about Erlang :(
I was wondering if someone have some examples of the use of this API?
Best regards,