The documentation is pretty thorough here: http://elixir-lang.org/docs/master/elixir/Kernel.html#use/2
Honestly, use isn't really beginner material. What do you mean by "start using module that he himself wrote" ? On Tuesday, November 22, 2016 at 6:54:32 PM UTC-5, Razvan Musetescu wrote: > > I've been trying to figure out the best way to leverage the functionality > of module into other modules. > Naturally I thought that one of the directives *require* or *import* or > the *use* macro would be the solution > http://elixir-lang.org/getting-started/alias-require-and-import.html > > After doing some research I found that the use macro solved my problem but > I figured out how to use it just after reading this > http://learningelixir.joekain.com/use-import-require-in-elixir/ > > Specifically there's nothing in the Getting Started Guide about how should > we should write the __using__ macro. > I believe this information should be available in the guide as the current > documentation isn't enough for a beginner to start using module that he > *himself* wrote. > -- 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 elixir-lang-core+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/be4c95d6-0f82-4bb7-928b-d1b33392205a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.