title: .. automatically completes module path after import. MyMo.. works the same as MyModule. by autocomplete, ends with MyMo..:ok
body: <p>Adding an extra dot allows modules to "autocomplete". </p>
  
  <p>"My" code: </p>
  
  <pre><code>defmodule Rec do
    def msgurr(text, n) when n &lt;= 1 do
      IO.puts text
    end
  
    def msgurr(text, n) do
      IO.puts text
      msgurr(text, n - 1)
    end
  end
  </code></pre>
  
  <p>When I reference it, as follows: </p>
  
  <pre><code>iex(6)&gt; R..print_multiple_times("blah", 5)
  blah
  blah
  blah
  blah
  blah
  R..:ok
  iex(7)&gt; E..print_multiple_times("hello", 3)
  hello
  hello
  hello
  E..:ok
  </code></pre>
  
  <p>However, the following import command, with a call similar to the online documentation, does not work: </p>
  
  <pre><code>iex(8)&gt; ..msgurr("Hello!", 3) 
  ** (SyntaxError) iex:8: syntax error before: '..'
  </code></pre>
  
  <p>Why is this? </p>
  
  <p>How does this sort of auto-completing import statement work in Elixir? </p>
  
  <p>Is there any easy documentation for this? </p>
  
  <p>I read through this question: </p>
  
  <p><a href="https://stackoverflow.com/questions/13223238/how-do-you-create-and-load-modules-dynamically-at-runtime-in-elixir-or-erlang">How do you create and load modules dynamically at runtime in Elixir, or Erlang?</a></p>
  
  <p>However, it doesn't seem to say much about this little ".." thing for importing. </p>
  
  <p>I haven't tested it out in an actual script, just the <code>iex</code> interpreter.</p>