IEx.Helpers.import_file
You're seeing just the macro
import_file, go back to IEx.Helpers module for more information.
Injects the contents of the file at path as if it was typed into
the shell.
This would be the equivalent of getting all of the file contents and packing it all into a single line in IEx and executing it.
By default, the contents of a .iex.exs file in the same directory
as you are starting IEx are automatically imported. See the section
for ".iex.exs" in the IEx module docs for more information.
path has to be a literal string and is automatically expanded via
Path.expand/1.
Examples
# ~/file.exs
value = 13
# in the shell
iex(1)> import_file("~/file.exs")
13
iex(2)> value
13