erl_syntax: Module import statement

XCentric xcentricity@REDACTED
Thu Dec 3 15:22:20 CET 2009


Hi!

Could anyone please give me an example of how to use erl_syntax:attribute/2
to generate AST for a module import statement? For example, how to represent
"-import(io)." using erl_syntax:attribute/2?

Many thanks for your help.

Regards,
Ali Ranalvi


More information about the erlang-questions mailing list