Tutorials

Yariv Sadan yarivvv@REDACTED
Fri Aug 18 15:49:52 CEST 2006


> could i use smerl to write the functions in question? (preferably to stdout)


Yes, smerl has a function, get_func, which returns the abstract form
for a funcname/arity combination. The you can print it out with
io:format("~p", [Form]).

I just added 3 functions: smerl:get_forms reutrns the forms for a
module, smerl:get_exports returns the exports for a module, and
smerl:get_module, whic returns the module's name.

You can get the latest version at

http://yarivsblog.com/files/smerl.erl

Yariv



More information about the erlang-questions mailing list