You always need to require a module before using it. The only exception is the Kernel module.
*José Valim* www.plataformatec.com.br Skype: jv.ptec Founder and Director of R&D On Tue, Sep 13, 2016 at 6:40 AM, eksperimental <[email protected]> wrote: > I'm hacking Elixir core, and I haven't managed to find the code that makes > some modules not to be > required in order to use them. Same as it happens with Enum for example. > > Can anybody guide me in what's the procedure to achive this? since I'm > trying to avoid "require > NewModule" from a macro I'm working on. > > Thank you > > -- > You received this message because you are subscribed to the Google Groups > "elixir-lang-core" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/elixir-lang-core/20160913114058.0f10b282. > eksperimental%40autistici.org. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4LNdK%2BtwppdsUrUe1uBh%3DMg9XFQ9Uy1ap6O%3DfD%2BYCA4%3Dw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
