Today I Learned

hashrocket A Hashrocket project

.iex.exs file

A .iex.exs file at the root of your elixir project will be executed when you start your IEX session. Great for aliasing!

#/.iex.exs

one = 1

alias MyApp.{Foo, Bar}

In your IEx session the variable one will be in scope and Foo and Bar will be aliased.

See More #elixir TILs
Looking for help? At Hashrocket, we 💜 Elixir! From our many Elixir client projects, to sponsoring the Chicago Elixir Meetup, to the source code for this application, we are invested in this community. Contact us today to talk about your Elixir project.