Reusing code in elixir scripts (.exs)

These may be of interest: