Current section
Files
Jump to
Current section
Files
priv/dot.iex.exs.eex
# since v1.18+
IEx.configure(auto_reload: true)
defmodule IexHelpers do
def blanks(n \\ 20) do
1..n
|> Enum.each(fn _ ->
IO.puts("")
end)
end
def load_json!(file) do
file
|> File.read!()
|> Jason.decode!()
end
def iex_config do
IEx.configuration()
end
end
import IexHelpers
## project specific