github instagram 500px email
iex Config
May 14, 2018
One minute read

Okay, this is a quick one. You’ll probably find yourself jumping in an iex REPL quite a bit while working on elixir projects. It can become tedious aliasing your frequently used modules. One way to avoid this is to configure them in an .iex.exs file:

alias MyApp.{

import Ecto
import Ecto.Changeset
import Ecto.Query, only: [from: 1, from: 2]

Tags: elixir

Back to posts