Thanks aziz and José.
Just so I really cement my understanding, the body block containing the import in the only_in/2 macro is never unquoted in the module during compilation (or a preprocessing stage?), whereas mine fails because the import is directly in the module body. Is this correct?
Is there a good place to read up on the compilation process, or should i start digging through the Elixir source tree?


















