I have the following module in my priv/ directory:
defmodule MyModule do
def hello(s) do
IO.puts s
end
hello("world")
end
when I mix run priv/funwithfuncs.exs:
** (CompileError) priv/funwithfuncs.exs:5: undefined function hello/1
How do I define a function in a seed/exs file??






















