June 2022
Intermediate to advanced
130 pages
2h 45m
English
Let’s fire up an interactive console from the /hello directory:
| | iex -S mix |
IEx is interactive Elixir, and the -S flag starts Elixir with everything our project needs so we can call functions within our project. We can see the documentation for our function and call it:

You can also get the Hello module information with h Hello as well:
| | iex(1)> h Hello |
| | |
| | Hello |
| | |
| | Documentation for Hello. |
| | iex(2)> Hello.hello |
| | Hello |
We get help for the module, and then we call the Hello.hello function. To execute any function, you’ll chase the module name with a period and then the function name.
Let’s look into some more obscure Mix features. ...
Read now
Unlock full access